bundler (2.0.1, default: 1.17.2)
How could I change the default to 2.0.1
What helped me is to delete the current default manually from the folder
lib\ruby\gems\2.6.0\specifications\default\
and then install fresh bundler as usually
gem install bundler
or as default
gem install --default bundler
You need to remove .spec
file to remove the gem.
Steps:
gem env
– try to search in provided list under GEM PATHS, in specifications/default
bundler-VERSION.gemspec
gem install bundler:VERSION --default
Following https://bundler.io/guides/bundler_2_upgrade.html#upgrading-applications-from-bundler-1-to-bundler-2, here's what worked for me:
gem install --default bundler
gem update --system
bundler update --bundler