-------- Original-Nachricht --------
> Datum: Thu, 3 Sep 2009 00:03:12 +0900
> Von: Tom Cloyd <tomcloyd / comcast.net>
> An: ruby-talk / ruby-lang.org
> Betreff: Re: gem install failure - probably easy to fix

> Axel Etzold wrote:
> > Dear Tom, 
> >
> >
> >   
> >> ERROR:  While executing gem ... (Errno::EACCES)                 
> >>     Permission denied - /home/tomc/.ri/cache/.doc_dirs
> >>     
> >
> > you don't have sufficient writing rights on that file, probably
> > because you installed the gems as normal user rather than with sudo
> > privileges.
> >   
> Actually, no. I did install rubygems as root user. THEN I discovered 
> that "sudo gem install..." wouldn't work, but "gem install..." would.
> 
> I don't understand what happened.
> 

Tom,

then I'd guess that the cache file is locked (maybe by some other
installation process), and that you'd need to unlock it using eg., chown .

Best regards,

Axel
-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
f nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02