如何在生产环境中启动乘客? [英] How to start passenger in production environment?

查看:54
本文介绍了如何在生产环境中启动乘客?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用以下命令启动 Rails 3 应用程序:

I'm starting the Rails 3 application with the following command:

乘客开始 -a 0.0.0.0 -p 3000 -d

但是我如何告诉 passengerproduction 环境中启动应用程序?

but how do I tell passenger to start the application in production environment?

推荐答案

passenger start -a 0.0.0.0 -p 3000 -d -e production

旁注:总是检查帮助,passenger start --help 会告诉你同样的.

Side note: always check the help, passenger start --help would have told you the same.

这篇关于如何在生产环境中启动乘客?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆