Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rvm: command not found MAC OX

Tags:

command

macos

rvm

Really, I don't know what happened. Excuse me if this question is so NOOB, but I can't find the solution for this problem.

-bash: rvm: command not found

I tried this

curl -L https://get.rvm.io | bash -s -- --version latest

but still nothing I need to see the ruby version for use the simplecov because it not works with older version from 1.9

like image 217
Asantoya17 Avatar asked Jul 26 '12 20:07

Asantoya17


People also ask

Does RVM work on Mac?

The RVM install page has comprehensive instructions for installing RVM that work on Mac OS X. I'll provide the steps I used here. I've listed the mapis public key install command here for illustration. You should use the version on the RVM install page.

Where is RVM located?

The rostral ventromedial medulla (RVM), or ventromedial nucleus of the spinal cord, is a group of neurons located close to the midline on the floor of the medulla oblongata (myelencephalon).


2 Answers

It might because the terminal not having rvm shell configuration loaded.

Try following from your terminal:

$ source ~/.rvm/scripts/rvm 

then

$ type rvm | head -n 1 

If the output is:

rvm is a function 

You may need to add "source ~/.rvm/scripts/rvm" to your ~/.bash_profile file

like image 116
peterpengnz Avatar answered Sep 26 '22 19:09

peterpengnz


you need to read all the texts that are displayed when you install RVM:

rm -rf ~/.rvm curl -L https://get.rvm.io | bash -s stable 
like image 42
mpapis Avatar answered Sep 23 '22 19:09

mpapis