如果我更改捆綁在一個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
?
我幾乎可以肯定你不能做這個工作,但我無法解釋爲什麼要給出正確的答案。 –