If I change the version of bundler required in a Gemfile, and then type bundle
, I get
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
Is it possible to ask bundler to install the new version of bundler, rather than typing in gem install bundler
?
Seems like bundler can't bundle itself :)
So you have to run gem install bundler
.