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
For a long-term solution, you should add this to your
~/.profile
file:to simply load rvm into a single terminal, use
supposedly this call is more cross-platform:
This worked for me:
To start using RVM, you'll need to enter
source /Users/yourusername/.rvm/scripts/rvm
into your terminal (of course, insert your real username in place ofyourusername
).you need to read all the texts that are displayed when you install RVM:
Close and restart terminal after installing RVM — gets me EVERY TIME.
after you run
sudo curl -L https://get.rvm.io | bash -s stable --ruby
you need to close the terminal ,then open again!