From: Todd Benson Date: 2009-03-28T06:03:43+09:00 Subject: Re: I just can't get rubygems to work. Can anyone help? On Fri, Mar 27, 2009 at 2:48 PM, 7stud -- wrote: > lasitha wrote: >> On Fri, Mar 27, 2009 at 10:32 PM, 7stud -- >> wrote: >>> My problems started with a wxruby gem, but the whole gem system on my >>> mac is now one big cluster#$#$!. >>> [...] >>> Next, I decided to upgrade to ruby 1.8.6, and download the full rubygems >>> 1.3.1 and install it locally hoping that all my problems would be >>> solved. �No such luck. �I originally posted about the problems I am >>> having in the wxruby forum here: >>> >>> http://www.ruby-forum.com/topic/182480#new >>> >> >> Hi, you may find this thread helpful: >> http://www.ruby-forum.com/topic/180436 >> >> In your original thread, Mario suggested cleanuping up anything >> accidentally installed in /Users/me/.gem >> Did that not help? >> > > Well, Mario said that would "probably" work, so I thought I would see if > anyone could confirm that or not. The thread you linked to says to use > rm -rf, but I'm not sure what path/file I should list, and I checked the > man pages on rm, and that sounds a bit dangerous. If I do: > > $ rm -rf /Users/me/.gem > > will that delete /Users/me and /Users ? Or will it only delete a > directory if it is empty? On my system, no. Do a test... mkdir temp cd temp mkdir .gem cd .gem touch a b cd ../.. rm -rf temp/.gem ls temp #nothing, but temp is still there. hth, Todd