Ruby on rails 如何让rails程序在生产环境中运行?

Ruby on rails 如何让rails程序在生产环境中运行?,ruby-on-rails,ruby-on-rails-3,mongrel,Ruby On Rails,Ruby On Rails 3,Mongrel,我正在使用mongrel rails服务器运行我的redmine实例 现在,它将自动选择开发环境作为当前环境。我如何告诉我的rails应用程序它应该在生产环境中运行 mongrel_rails start -e production 差不多 mongrel_rails start -e production

我正在使用mongrel rails服务器运行我的redmine实例

现在,它将自动选择开发环境作为当前环境。我如何告诉我的rails应用程序它应该在生产环境中运行

mongrel_rails start -e production
差不多

mongrel_rails start -e production