How do I fix my Ruby installation

Posted by Robin Fisher on Stack Overflow See other posts from Stack Overflow or by Robin Fisher
Published on 2010-06-06T21:08:45Z Indexed on 2010/06/06 21:12 UTC
Read the original article Hit count: 332

Filed under:
|
|
|

Hi all,

I rather cleverly (or not in hindsight) installed RVM, which kept hanging whilst compiling Rubies.

I have removed the .rvm directory but now my system has reverted to Ruby 1.8.7 i.e. when I type:

ruby -v
which ruby

they both point to 1.8.7.

How do I get the ruby command to point to my 1.9.1 installation, which is located in /usr/local/lib/ruby/1.9.1? I'm on OSX 10.6.

Thanks

Robin

© Stack Overflow or respective owner

Related posts about ruby

Related posts about mac