Rails server not staring - There was an error while trying to load the gem 'omniauth-linkedin' in ruby on rails

50 Views Asked by At

I'm absolutely new to ruby on rails application. I'm stuck with an error while starting the rails server, it shows:

There was an error while trying to load the gem omniauth-linkedin. (Bundler::GemRequireError).

Following are the version that I'm using:

  • ruby 2.1.8

  • Rails 4.0.13

  • omniauth-linkedin (0.2.0)

Any help would be appreciated.

1

There are 1 best solutions below

1
On

I think that gem is not working anymore, prolly you'll want to use:

gem 'omniauth-linkedin-oauth2'