红宝石 – 我如何找出为什么宝石束已经锁定了一个特定版本的宝石
发布时间:2020-12-16 20:15:58 所属栏目:百科 来源:网络整理
导读:我试图在我的宝石文件中指定一个版本的 thrift gem. gem 'thrift',"~ 0.6.0" 当我尝试运行捆绑安装,我得到这个错误: You have requested: thrift ~ 0.6.0The bundle currently has thrift locked at 0.5.0.Try running `bundle update thrift` 我如何才能找
我试图在我的宝石文件中指定一个版本的
thrift gem.
gem 'thrift',"~> 0.6.0" 当我尝试运行捆绑安装,我得到这个错误: You have requested: thrift ~> 0.6.0 The bundle currently has thrift locked at 0.5.0. Try running `bundle update thrift` 我如何才能找出导致它被锁在早期版本的原因?是否在宝石文件中列出的另一个宝石的要求? 还是只是因为安装的版本是0.5.0,而且在gem文件中指定版本不会更新已安装的gem? 解决方法
结果只是运行捆绑更新节俭将显示什么是锁定版本:
$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) (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |