Ruby on Rails, LinkedIn:Module error
问题 Has any one come across this error? NoMethodError (undefined method `new' for LinkedIn:Module) I think it's related to omniauth and linkedin. Here's my Gemfile: gem 'omniauth' gem 'linkedin', :git => "git://github.com/redbeard-tech/linkedin.git", :branch => 'jsapi' I'm using: ruby 1.8.7 (2010-01-10 patchlevel 249) rails 3.0.5 What might be the reason for it? 回答1: Check what version of omniauth you are using. We recently ran into this and it was from our dev environment having omniauth 0.3.x