[英]Getting error on bundle install as (Bundler could not find compatible versions for gem “bundler”)
Bundler could not find compatible versions for gem "bundler": In Gemfile: bundler (~> 1.3.5) ruby Bundler找不到与“ bundler”宝石兼容的版本:在Gemfile中:bundler(〜> 1.3.5)ruby
Current Bundler version: bundler (1.2.3) 当前的捆绑软件版本:捆绑软件(1.2.3)
This Gemfile requires a different version of Bundler. 该Gemfile需要其他版本的Bundler。 Perhaps you need to update Bundler by running
gem install bundler
? 也许您需要通过运行
gem install bundler
来更新Bundler?
Above is the error that i am getting,already tried running 'gem install bundler'. 上面是我遇到的错误,已经尝试运行“ gem install bundler”。 It ran successfully,but bundle install is always throwing this error.Although its a dependancy gem,i have explicitly mentioned bundler gem in gemfile with the version 1.3.5,still getting the same error.Plz reply if anyone has come across such error or help me understand if i am doing something wrong.
它运行成功,但是bundle install总是抛出该错误。尽管它是一个依赖的gem,但我在1.3.5版本的gemfile中明确提到了bundler gem,仍然遇到相同的错误。如果有人遇到过此类错误或帮助我了解我做错了什么。
you can force the bundler version in bundle install command like this: 您可以在bundle install命令中强制使用bundler版本,如下所示:
bundle _1.2.3_ install. 捆绑_1.2.3_安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.