Hello, after upgrading to ubuntu 11.04 im having this problem with
rvm. Im following this tutorial:
Git is installed OK, when I follow the instructions on RVM website
aparently its OK too, but when I close my terminal and open a new one
and tipe ruby -v ou rvm -v for example I got a messenge “rvm is not
installed”.
Git is installed OK, when I follow the instructions on RVM website
aparently its OK too, but when I close my terminal and open a new one
and tipe ruby -v ou rvm -v for example I got a messenge “rvm is not
installed”.
Did you edit .bashrc according to the instructions that should have
been shown when you installed rvm? In particular editing the line
with && return on the end. this is what I do (extracted from my
install script)
echo “now edit .bashrc”
echo “change the line [ -z “$PS1” ] && return”
echo “to”
echo “if [[ -n “$PS1” ]]; then”
echo “and add to the end”
echo “fi”
echo “[[ -s “$HOME/.rvm/scripts/rvm” ]] && source
“$HOME/.rvm/scripts/rvm””
echo “where the backslashes in above should not be included in edit”
echo “then save it and close and open the terminal”
echo “then rvm notes should show release notes”
This one is the new way that uses the bash shell echo command to stick
the
same line above in your .bashrc.
You can not put this in your .bashrc. You have to run this line in a
bash
shell terminal and do the same thing as above.
I still didnt get it. I used this:
user$ echo ‘[[ -s “$HOME/.rvm/scripts/rvm” ]] && . “$HOME/.rvm/scripts/
rvm” # Load RVM function’ >> ~/.bash_profile
As it tells me to use on http://beginrescueend.com/rvm/install/
Git is installed OK, when I follow the instructions on RVM website
aparently its OK too, but when I close my terminal and open a new one
and tipe ruby -v ou rvm -v for example I got a messenge “rvm is not
installed”.
What should I do?
How did you install rvm ??
Is it a root or a user installation ?