On Wed, Sep 17, 2008 at 8:33 PM, James Tucker <[EMAIL PROTECTED]> wrote: > > On 14 Sep 2008, at 15:35, Caspar Florian Ebeling wrote: > >> Hi, >> >> when I try to use the fetch separately, then gem fails with an error >> indicating missing privileges. This should not happend because >> fetch is documented as saving the gem archive to the current >> directory. >> >> flomac:vendor febeling$ rubygems-svn/bin/gem fetch hpricot --source >> http://code.whytheluckystiff.net >> ERROR: While executing gem ... (Errno::EACCES) >> Permission denied - /opt/local/lib/ruby/gems/1.8/cache/hpricot-0.6.gem >> flomac:vendor febeling$ pwd >> /Users/febeling/vendor >> >> The error references the regular location of gems, and not the local >> directory. >> Seems wrong to me. This test happend from the trunk version as >> of today (r1868). > > It's been this way for a long time, maybe forever. rubygems seems to want to > cache the file in the main cache before copying it out to the local > directory. >
Yes, the same happened to me under Windows (user don't have write access to C:/Ruby/lib/ruby/1.8/gems/**) Eric: what about using TMP for fetch actions? Is feasible? -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams _______________________________________________ Rubygems-developers mailing list Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers