views:

66

answers:

3

Hi,

my ruby environment in my mac Leopard is all messed up. And I want to uninstall the entire ruby, gem stack and install them again from scratch. How can I do it ?please point me towards a good resource on the net.

thanks

+1  A: 

Don't Uninstall the pre-installed Ruby in Mac

And have you tried rubyosx?

zengr
The ruby in /usr/local/bin can be removed using this: http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#benefit
zengr
im trying with this http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard
lakshmanan
+4  A: 

Have a look at RVM. Makes running multiple rubies and gemsets a breeze.

Toby Hede
+1 for RVM. I'd also suggest pairing that with [homebrew](http://mxcl.github.com/homebrew/), which is a great way to install other libraries without messing around with OSX defaults.
Damien Wilson
I "third" the recommendation for rvm. It sets up your Ruby environment as a .rvm directory in your home directory. rvm then makes it easy to uninstall a particular Ruby instance, or all of them, and easily reinstall. Also, Wayne is easily reached on the IRC channel and often has the answer for your questions within seconds. Highly recommended.
Greg
A: 

or Locomotive for MacoSX

sushant