0

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

nfm
  • 19,689
  • 15
  • 60
  • 90
jferrercas
  • 25
  • 1
  • 5

1 Answers1

1

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

gem 'omniauth-twitter'