如果我更改捆绑在一个Gemfile中所需要的版本,然后键入bundle
,我得到安装捆绑的较新版本的捆绑
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (>= 1.10.2) ruby
Current Bundler version:
bundler (1.9.9)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (>= 1.10.2) ruby in any of the sources
是否有可能要问打捆安装捆绑的新版本,而不是输入gem install bundler
?
我几乎可以肯定你不能做这个工作,但我无法解释为什么要给出正确的答案。 –