한 응용 프로그램에서 두 가지 버전의 gem을 사용할 수 있습니까? 나는 함께 작동하도록 두 개의 레일 플러그인을 사용하려고 해요 :동시에 2 가지 버전의 gem을 사용하십시오.
-
,
- OmniAuth 여러 잘 통해 사용자 로그인의 OAuth에 의존 (~> 0.3.5)가 Pengwynn의 링크드 인 https://github.com/pengwynn/linkedin 링크드 인 API 호출에
- 단지 번들 업데이 트를 시도
$ 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.
: 내가 레일에 뭔가를하려고 할 때 알려진 웹 사이트는, 내가이 오류 메시지가 OAuth를 0.4.0
에 대한 종속성이 내 터미널이 얼어 버린다
두 플러그인을 동시에 사용할 수 있습니까?
감사를 통해 해결, 내가 지금 모두를 사용하려고 시도와 귀찮게 중지됩니다. –