gema do Twitter 2.0.2 ArgumentError
-
14-11-2019 - |
Pergunta
Acabei de atualizar para Rails 3.2 e Twitter gem 2.0.2
Agora, quando inicio o servidor web, recebo esta mensagem
ArgumentError (wrong number of arguments (3 for 1)):
twitter (2.0.2) lib/twitter.rb:10:in `new'
lib/twitter.rb:10
contente
def new(options={})
Twitter::Client.new(options)
end
Ontem funcionou com Rails 3.1 e Twitter gem 1.6.0
Como posso consertar isso?
Obrigado
Solução
Adicionei este ao Gemfile e funcionou.
gem 'omniauth-twitter'
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow