How to Make a Specific Gem Version as Default

Rails: How to change Bundler default version

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

RubyGems.org defaulting to old version of Gem

Please check out semantic versioning: http://semver.org/

Your version number of 0.0.111 is higher/newer than 0.0.38. Release dates have nothing to do with versioning numbers.

How do I activate a different version of a particular gem?

If your problem is to run binaries of a certain version, then:

rails --version # => the latest version
rails _2.3.10_ --version # => Rails 2.3.10

This pattern (gem-binary _gem-version_) works for any gem binary.



Related Topics



Leave a reply



Submit