我正在尝试指定一个版本节俭宝石 http://rubygems.org/gems/thrift在我的宝石文件中。
gem 'thrift', "~> 0.6.0"
当我尝试跑步时bundle install
,我收到此错误:
You have requested:
thrift ~> 0.6.0
The bundle currently has thrift locked at 0.5.0.
Try running `bundle update thrift`
如何找出导致其在早期版本被锁定的原因?它是否符合我在 gem 文件中列出的另一个 gem 的要求?
或者只是由于安装的版本是0.5.0而导致,并且在gem文件中指定版本不会更新已安装的gem?
结果只是运行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)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)