ruby on rails - Omniauth with Google Oauth2 gives a loading error -
just including gem in gemfile:
gem 'omniauth-google-oauth2'
i following error:
21:20:05 web.1 | started 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 | /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 | /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 | /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 | /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 | /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 | /users/user/sites/wisdom/code/git/wisdom/config/application.rb:7:in `<top (required)>' 21:20:14 web.1 | /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 | /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 | /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 | /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 | script/rails:6:in `require' 21:20:14 web.1 | script/rails:6:in `<main>' 21:20:14 web.1 | exited code 1 21:20:14 system | sending sigterm processes sigterm received
i use following gems:
oauth2 (0.9.2) rails (3.2.11) devise (3.0.0)
i have seen issue https://github.com/zquestz/omniauth-google-oauth2/pull/32 upgrading devise didn't in case.
any idea issue?
i use oauth2 devise , include omniauth-google-oauth2 in following way in gemfile:
gem 'omniauth-google-oauth2', git: 'https://github.com/zquestz/omniauth-google-oauth2.git'
Comments
Post a Comment