Installation
This installation description is for Ubuntu.
Curl is needed to install RVM. In case the system doesn't have it:
sudo 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
\curl -sSL https://get.rvm.io | bash -s stable
Now add this line to the ~/.bashrc
file
source ~/.rvm/scripts/rvm
Then type that command (source ~/.rvm/scripts/rvm
)
or restart the terminal.
Install requirements. The system will ask for the password.
rvm requirements
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
.