[Rubygems-developers] Bug in fetch?

James Tucker jftucker at gmail.com
Wed Sep 17 19:33:25 EDT 2008


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.

>
>
> Do I miss something or is this a bug?
>
> Florian
>
>
> -- 
> Florian Ebeling
> florian.ebeling at gmail.com
> _______________________________________________
> Rubygems-developers mailing list
> Rubygems-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubygems-developers



More information about the Rubygems-developers mailing list