I have executed the commands as prescribed in the instructions at the rvm website but things don't seem to work..
Fetching the code from the git repository runs smoothly but when I try to use
rvm notes
Error:
/usr/local/bin/rvm: line 73: /home/cody/.rvm/scripts/rvm: No such file or directory
flashes in multiple lines and doesn't stop till I hit ctrl+C.. I am running Ubuntu 8.04 and currently I am running ruby 1.9.2.. Sorry, if I am missing out any necessary information. Thanks in advance.
Ok, for anyone who tried to install RVM using sudo and is now pulling their hair out trying to get it to install in
$HOME/.rvm
, here's what did it for me:When you installed RVM using
sudo
, it created a file/etc/rvmrc
, which contains the following:This makes all future attempts at installation (even when not run as sudo) install into /usr/local/rvm, which is NOT what you want for a single user installation. So remove
/etc/rvmrc
and then you can runand it will install properly into
$HOME/.rvm
DId you add this line to your
~/.bashrc
?