This installation description is for Ubuntu.
Curl is needed to install RVM. In case the system doesn’t have it:
apt-get install curl
An installation of RVM doesn’t require root privileges. RVM will install itself in a hidden .rvm directory in user’s home directory.
gpg –keyserver hkp://keys.gnupg.net –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
Now add this line to the
Then type that command (
source ~/.rvm/scripts/rvm) or restart the terminal.
Install requirements. The system will ask for the password.
You have installed RVM, but you don’t have any Ruby installed inside RVM. You can check this with
rvm list command.
To remove RVM from your system just delete ~/.rvm directory. Then delete the lines
source ~/.rvm/scripts/rvm and
export PATH="$PATH:$HOME/.rvm/bin" (created by heroku?) from ~/.bashrc.