Gemfile に gem を含めるだけで:
gem 'omniauth-google-oauth2'
次のエラーが表示されます。
21:20:05 web.1 | started with pid 20590
21:20:14 web.1 | /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:74:in `require': cannot load such file -- omniauth/google/oauth2 (LoadError)
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:74:in `rescue in block in require'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:62:in `block in require'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `each'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `require'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler.rb:128:in `require'
21:20:14 web.1 | from /Users/user/Sites/WISDOM/code/git/wisdom/config/application.rb:7:in `<top (required)>'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.11/lib/rails/commands.rb:53:in `require'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.11/lib/rails/commands.rb:53:in `block in <top (required)>'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap'
21:20:14 web.1 | from /Users/user/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>'
21:20:14 web.1 | from script/rails:6:in `require'
21:20:14 web.1 | from script/rails:6:in `<main>'
21:20:14 web.1 | exited with code 1
21:20:14 system | sending SIGTERM to all processes
SIGTERM received
以下のgemを使用しています。
oauth2 (0.9.2)
rails (3.2.11)
devise (3.0.0)
この問題https://github.com/zquestz/omniauth-google-oauth2/pull/32を見 たことがありますが、この場合、デバイスをアップグレードしても役に立ちませんでした。
何が問題になる可能性がありますか?