How do I fix this gem dependency problem in Rails 3 (bundler)?

橙三吉。 提交于 2019-12-01 11:01:12

The specific version of Omniauth that you're using depends on Faraday ~> 0.7.3, while the latest released version of Twitter gem needs 0.6.

You can fix this by using the latest version of Twitter gem from the repository.

gem 'twitter', :git => 'https://github.com/jnunemaker/twitter.git'

I had the exact same issue and it got resolved by the following two lines in my Gemfile:

gem 'twitter', :git => 'https://github.com/jnunemaker/twitter.git' 
gem 'omniauth', :git => "git://github.com/intridea/omniauth.git" ,:ref => "b9fe79961ab56041dbf9"

try deleting your Gemfile.lock (file) and then do

bundle install
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!