简体   繁体   中英

How to change gem package manager's version?

Currently I am having gem package manager version 2.0.14, I found it by running

gem -v

but how to downgrade the package manager to version 1.8.25. Every search attempt to find this leads me to, how to upgrading or downgrading a particular gem.

Gem can be updated using:

gem update --system

or

sudo gem update --system

maybe you are referring to rvm?

rvm list
rvm use 2.0.0-p353 // just a sample version

This may help you:

sudo gem update --system 1.8.25  # If you don't mention version then by default it will update with latest one

More information about downgrading/upgrading rubygems: http://rubygems.rubyforge.org/rubygems-update/UPGRADING_rdoc.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM