evernote gem을 사용하려고합니다. 그것은 thrift gem에 의존합니다. Gemfile내 보석 중 하나가 달린 보석의 버전을 변경하려면 어떻게해야합니까?
gem 'evernote'
내가 그것을 사용하려고
, 나는이 오류가 :
Thrift::ProtocolException in PagesController#the_lab
No version identifier, old protocol client?
thrift (0.5.0) lib/thrift/protocol/binary_protocol.rb:122:in `read_message_begin'
thrift (0.5.0) lib/thrift/client.rb:45:in `receive_message'
evernote (0.9.0) vendor/gen-rb/evernote/edam/note_store.rb:97:in `recv_listNotebooks'
잠재적으로 문제를 해결할 수있는 newer version of the thrift gem available,있다. 나는 그것을 설치하려고하면이 오류를 얻을 :
Gemfile :
gem 'evernote'
gem 'thrift', "~> 0.6.0"
콘솔 :
$ bundle install
Fetching source index for http://rubygems.org/
You have requested:
thrift ~> 0.6.0
The bundle currently has thrift locked at 0.5.0.
Try running `bundle update thrift`
$ bundle update thrift
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "thrift":
In Gemfile:
evernote depends on
thrift (~> 0.5.0)
thrift (0.6.0)
나는 에버 노트가 의존 절약의 버전을 변경할 수있는 방법이 있나요?
덧붙여 말하자면, 'No version identifier, old protocol client?'라는 오류는 Thrift에서 왔으며 지정된 객체에 대한 IDL에 따라 응답을 구문 분석 할 수 없음을 나타냅니다. – Don