After upgrading to ubuntu 11.04 I am having this problem with rvm.
I am following this tutorial:
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#top
Git is installed OK, when I follow the instructions on RVM website apparently it’s OK too, but when I close my terminal and open a new one and type ruby -v or rvm -v for example I got a message “rvm is not installed”.
What should I do?
After some Googling I found:
http://ygamretuta.me/2011/05/09/install-rvm-in-ubuntu-11-04-and-mac-osx-snow-leopard/
which worked for me (Ubuntu 11.04, x64)
Edit your .bashrc file instead of your ~/.bash_profile file with your favorite editor
vim .bashrcadd this to the bottom:
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fiHope this helps guys!