简体   繁体   English

我如何告诉我的rails程序在生产中运行?

[英]How do i tell my rails program to run on production?

I'm using the mongrel rails server for running my instance of redmine. 我正在使用杂种Rails服务器来运行我的Redmine实例。

Now, it is automatically choosing the development environment as the current environment. 现在,它会自动选择开发环境作为当前环境。 How do i tell my rails app that it is supposed to run in production ? 我如何告诉我的Rails应用程序应该在生产中运行?

就像是

mongrel_rails start -e production

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM