问题
bundler (2.0.1, default: 1.17.2)
How could I change the default to 2.0.1
回答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 usuallygem install bundler
or as defaultgem install --default bundler
回答2:
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
回答3:
bundler config default 2.0.1
This should do it.
来源:https://stackoverflow.com/questions/54761120/how-to-change-bundler-default-version