質問

次のログエラーで失敗します。

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=

... 何か案が ?

役に立ちましたか?

解決

あなたをチェックしてください /app/config/application.rb 84行目。

定義されていないメソッドを使用しています。この方法は、生産環境では利用できない宝石で定義されている可能性があります。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top