[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Removing RubyGems

Jonathan Waddilove

12/29/2005 5:10:00 PM

Hmm, I have ended up with multiple instances of RubyGems installed on my
OS X system. I can use PATH to ensure that the correct version is used,
but I'd like to clean the system up.

Can some kind person describe the process for reversing the 'ruby
setup.rb' to ensure a full and clean remove of the package?

Thanks in advance

--
Posted via http://www.ruby-....


2 Answers

Jonathan Waddilove

12/29/2005 7:37:00 PM

0

Jim Weirich wrote:

> To remove RubyGems from a single Ruby installation, from the
> site_ruby/1.8 directory of that installation, remove:
>
> * rubygems.rb (file)
> * rubygems (directory)
>
> If you do not have RubyGems installed in other Ruby installation
> directories, you can also remove the following files from whatever
> command directory is listed in your PATH:
>
> * gem
> * gemwhich
> * gem_server
> * gem_mirror
> * generate_yaml_index.rb
>
> And if you are removing RubyGems completely, don't forget to remove the
> RUBYOPT environment variable from your environment.
>
> Without actually trying it, I think that will do it.
>
> --
> -- Jim Weirich

Jim, Many thanks for the suggestion, that worked for me.

--
Posted via http://www.ruby-....


anne001

12/30/2005 5:22:00 AM

0

you forgot to tell us what "that" is in case someone else has that
problem!