大佬教程收集整理的这篇文章主要介绍了ruby-on-rails – 同时使用2个版本的gem,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
> Pengwynn的LinkedIn https://github.com/pengwynn/linkedin for LinkedIn API调用,对oauth有依赖(〜> 0.3.5)
> OmniAuth用户通过多个知名网站登录,依赖于oauth 0.4.0
当我在rails中尝试某些东西时,我会收到以下错误消息:
$rails server c:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/resolver.rb:129:in `resolve': Bundler could not find compatible versions for gem "oauth": (Bundler::VersionConflict) In snapshot (Gemfile.lock): oauth (0.4.4) In Gemfile: linkedin depends on oauth (~> 0.3.5) Running `bundle update` will rebuild your snapshot from scratch,using only the gems in your Gemfile,which may resolve the conflict.
尝试捆绑更新只会冻结我的终端
是否可以同时使用这两个插件?
以上是大佬教程为你收集整理的ruby-on-rails – 同时使用2个版本的gem全部内容,希望文章能够帮你解决ruby-on-rails – 同时使用2个版本的gem所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。