2

当我使用 unicorn 启动 rails 3.2.1 myapp 时,总是会记录以下类型的错误/异常。谷歌搜索并试图解决它,但无法解决它。

==> log/unicorn_err.log <==
Exception `NameError' at
 /myapp/releases/c2c1e8f50b31eede21692692cf6dac28a
 d85177e/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/act
 ive_support/core_ext/module/remove_method.rb:4 - method `_routes'
  not defined in Class
Exception `NameError' at
 /myapp/releases/c2c1e8f50b31eede21692692cf6dac28a
 d85177e/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/act
 ive_support/core_ext/module/remove_method.rb:4 - method `helpers'
  not defined in Class

还有其他很多NameError'错误,比如这个别人的要点https://gist.github.com/1353923

4

0 回答 0