Deployment 在Heroku上部署Rails-3.1.3失败

Deployment 在Heroku上部署Rails-3.1.3失败,deployment,heroku,ruby-on-rails-3.1,Deployment,Heroku,Ruby On Rails 3.1,它失败,出现以下日志错误: 2011-11-28T22:23:21+00:00 app[web.1]: /app/config/application.rb:84:in `<class:Application>': undefined method `full_gem_path' for nil:NilClass (NoMethodError) 2011-11-28T22:23:21+00:00 app[web.1]: from /app/config/application.r

它失败,出现以下日志错误:

2011-11-28T22:23:21+00:00 app[web.1]: /app/config/application.rb:84:in `<class:Application>': undefined method `full_gem_path' for nil:NilClass (NoMethodError)
2011-11-28T22:23:21+00:00 app[web.1]:   from /app/config/application.rb:30:in `<module:Rails3MongoidOmniauthSimple>'
2011-11-28T22:23:21+00:00 app[web.1]:   from /app/config/application.rb:29:in `<top (required)>'
2011-11-28T22:23:21+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:52:in `require'
2011-11-28T22:23:21+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:52:in `block in <top (required)>'
2011-11-28T22:23:21+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in `tap'
2011-11-28T22:23:21+00:00 app[web.1]:   from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in `<top (required)>'
2011-11-28T22:23:21+00:00 app[web.1]:   from script/rails:6:in `require'
2011-11-28T22:23:21+00:00 app[web.1]:   from script/rails:6:in `<main>'
2011-11-28T22:23:22+00:00 heroku[web.1]: State changed from starting to crashed
2011-11-28T22:23:24+00:00 heroku[router]: Error H10 (App crashed) -> GET gitwatcher.com/ dyno= queue= wait= service= status=503 bytes=
2011-11-28222:23:21+00:00app[web.1]:/app/config/application.rb:84:in``':nil:NilClass(NoMethodError)的未定义方法“full\u gem\u path”
2011-11-28222:23:21+00:00应用程序[web.1]:from/app/config/application.rb:30:in`'
2011-11-28222:23:21+00:00应用程序[web.1]:from/app/config/application.rb:29:in`'
2011-11-28222:23:21+00:00应用程序[web.1]:from/app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:52:in'require'
2011-11-28222:23:21+00:00应用程序[web.1]:from/app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:52:in'block in'
2011-11-28222:23:21+00:00应用程序[web.1]:from/app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in'tap'
2011-11-28222:23:21+00:00应用程序[web.1]:from/app/vendor/bundle/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:49:in`'
2011-11-28222:23:21+00:00应用程序[web.1]:来自脚本/rails:6:in'require'
2011-11-28222:23:21+00:00应用程序[web.1]:来自脚本/rails:6:in`'
2011-11-28222:23:22+00:00 heroku[web.1]:状态从开始更改为崩溃
2011-11-28222:23:24+00:00 heroku[路由器]:错误H10(应用程序崩溃)->获取gitwatcher.com/dyno=queue=wait=service=status=503字节=

。。。有什么想法吗?

检查第84行的
/app/config/application.rb


您正在使用未定义的方法。该方法很可能是在生产环境中不可用的某些gem中定义的。

检查第84行的
/app/config/application.rb

您正在使用未定义的方法。这种方法很可能是在生产环境中不可用的某些gem中定义的