Reputation: 7865
I'm just learning to use RVM, and would like to know how I can do the following:
Also, how would I do the above with gems?
Thanks in advance for your help.
Upvotes: 30
Views: 36731
Reputation: 1324
Basically taken from http://beginrescueend.com/rvm/:
To list the available ruby versions to install type:
rvm list known
To then install from the list of known, type:
rvm install VERSION_NUMBER
To then use the ruby version you have installed:
rvm use VERSION_NUMBER
You can make a certain ruby version your system default version:
rvm use VERSION_NUMBER --default
To remove the ruby version and keep the gemsets:
rvm uninstall VERSION_NUMBER
To remove ruby and its associated gemsets:
rvm remove VERSION_NUMBER
To learn about your ruby environment and where they are installed / aliased:
rvm info
Upvotes: 86