and add the following line to the end (and save the file)
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function
Then reload the shell session using the command -
source ~/.bashrc
Now you can test whether the RVM has been installed successfully or not. Open terminal and execute the command -
type rvm | head -1
You need to Sign in before reply, if you don't have an account, please Sign up first.