permanently “source .rvm/scripts/rvm” in ruby on rails

Put this in your ~/.profile or ~/.bashrc:

# This loads RVM into a shell session. 

 [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

So you don't have to manually type it for every session. And yes it is needed if you want to use rvm

Comments