【发布时间】:2011-12-16 01:22:18
【问题描述】:
尝试以生产模式在本地启动 Rails 3.1 应用程序。
rails s
将启动开发就好了。当我尝试时
rails s production
我得到错误:
/usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/handler.rb:63:in
`require': no such file to load -- rack/handler/production (LoadError)
from /usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/handler.rb:63:in `try_require'
【问题讨论】:
标签: ruby-on-rails ruby-on-rails-3 environment production-environment