我可以在一個應用程序中使用兩個寶石版本嗎?我試圖用兩個Rails插件一起工作:同時使用2個版本的寶石
- Pengwynn的LinkedIn https://github.com/pengwynn/linkedin對LinkedIn的API調用,對OAuth的
- OmniAuth經由多個良好用戶登錄的相關性(〜> 0.3.5)知名網站,對OAuth的0.4.0
的依賴性,當我在軌嘗試一些我收到此錯誤信息:
$ 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.
只是想包更新凍結我的終端
是否有可能在同一時間使用這些插件都?
謝謝您的回答解決,我會停止與試圖使用現在都困擾。 – 2010-12-07 09:31:22