I’m just learning to use RVM, and would like to know how I can do the following:
- Remove a specific version of Ruby and/or all versions of Ruby.
- Verify the removal that version, both using RVM and simply looking into my directories, config files, etc (where should I look?)
- Installing a specific version of Ruby.
Also, how would I do the above with gems?
Thanks in advance for your help.
Basically taken from http://beginrescueend.com/rvm/:
To list the available ruby versions to install type:
To then install from the list of known, type:
To then use the ruby version you have installed:
You can make a certain ruby version your system default version:
To remove the ruby version and keep the gemsets:
To remove ruby and its associated gemsets:
To learn about your ruby environment and where they are installed / aliased: