I installed rvm and then ruby 1.9.2 but every time I close my terminal and reopen it, it shows me that rvm is not installed(zsh: correct ‘rvm’ to ‘rvim’ [nyae]?) and even ruby 1.9.2 can’t be seen when I do ruby -v(ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]).
I did set the 1.9.2 version as the default one and used http://eddorre.com/posts/rails-ultimate-install-guide-on-os-x-lion-using-rvm-homebrew-and-pow as the guide for installation. I have Mac OS X 10.7. What am I doing wrong? I am doing what Ruby 1.9.2 keeps reverting back to 1.8.7 after installing it using RVM says.
Thanks!
You need to add this line to the bottom of your
.zshrcfile: