It is defaulting to 1.8.7 which comes with Mac OS x. I am trying to use RVM and use 1.9.3
I tried rvm use default and is says -bash: rvm: command not found
my bashrc file has
PATH=$PATH:$HOME/.rvm/bin
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Typing
rvm listwill give you a list of the installed rubies you have, like this:If the one you want is
ruby-1.9.3-p194, then type:First, be careful to follow the installation instructions closely and make sure it’s working.
You should also see this line in your bashrc as well:
Then try opening a new shell or try typing:
But in general if you’re having issues, I’d recommend just re-installing rvm — it doesn’t take long and it’s easy: