Ruby Version Manager
lastmod 2018-08-20created 2015-02-0811 edits
| WARNING |
| It is better to use rbenv whenever possible. |
Ruby Version Manager, often abbreviated as RVM, is a unix-like software platform designed to manage multiple installations of Ruby on the same device.
How to install
Before any other step install mpapis public key (might need gpg2)
Install RVM.
## Install RVM (development version):
$ \curl -L https://get.rvm.io | bash
## OR Install RVM stable with ruby:
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby
## OR Select a specific version.
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby=2.0.0
Note that \curl above means to use the original command in Bash, not an alias.
Then, to use rvm, log out or run the following.
After that, you can install Ruby with RVM.
How to use
-
rvm list: prints the list of installed Rubies.
See also
Favorite site
- RVM web site
- Wikipedia (en) RVM description
- [Recommended] Installing RVM and Ruby without a meltdown 1
- Installing rvm
- Stackoverflow: How do I install rvm without root access? (how to install RVM without root privileges)
References
-
Install_the_RVM_and_Ruby.pdf ↩