I got following error for bundle
Bundler could not find compatible versions for gem "bundler": In Gemfile: bundler (~> 1.15)
Current Bundler version: bundler (2.0.1) 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.15)' in any of the relevant sources: the local ruby installation
then I tried to downgrade the bundler version with
$ gem install bundler -v '~> 1.7.0' Fetching: bundler-1.7.15.gem
(100%) Successfully installed bundler-1.7.15 Parsing documentation for bundler-1.7.15 Installing ri documentation for bundler-1.7.15 Done installing documentation for bundler after 1 seconds 1 gem installed
but when I recheck the bundler version with
bundler --version
it still said Bundler version 2.0.1