Question

I just updated to rails 3.2 and twitter gem 2.0.2

Now when I start web server I get this message

ArgumentError (wrong number of arguments (3 for 1)):
 twitter (2.0.2) lib/twitter.rb:10:in `new'

lib/twitter.rb:10 content

def new(options={})
  Twitter::Client.new(options)
end

Yesterday it worked with rails 3.1 and twitter gem 1.6.0

How can I fix this?

Thanks

Was it helpful?

Solution

I added this one to Gemfile, and then it worked.

gem 'omniauth-twitter'
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top