Check if you have ~ / .bash_profile and add the following code to it (create a file if it does not exist):
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
In addition, if you are using the gnu screen, you must add
source ~/.bash_profile
to the end of your ~ / .bashrc file.
Then enter
type rvm | head -1
in your terminal and you should get the message " rvm is a function "
After that, you can follow the instructions in the RailsTutorial .
source share