On Thu, 14 Oct 2004 00:10:23 +0900, jim / freeze.org <jim / freeze.org> wrote:
> More problems still... :)
> 
> Ok, now I have installed ruby-1.8.1 into a local workspace.
> Installing gems gives me the following (with the fluff snipped)
> 
> ...
> lib/rubygems.rb -> /disk2/jfn/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb
> chmod 0644 /disk2/jfn/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb
> 
> As of RubyGems 0.8.0, library stubs are no longer needed.
> Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
> ...done.
> No library stubs found.
> 
> /disk2/jfn/usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:601:in
> `initialize': Permission denied - sources-0.0.1.gem (Errno::EACCES)
>        from
> /disk2/jfn/usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:601:in `open'
>        from
> /disk2/jfn/usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:601:in `open'
>        from
> /disk2/jfn/usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:658:in `open'
>        from
> /disk2/jfn/usr/local/lib/ruby/site_ruby/1.8/rubygems/builder.rb:31:in `build'
>        from install.rb:143:in `install_rb'
>        from install.rb:148
> 
> Trying to figure out why I get a Permission denied when it should be
> installing into my local ruby install directory.
> 
> --

Quickly looking at this, it appears that sources-0.0.1.gem is not
_readable_ by the user you're logged in as.  Can you check the
ownership/permissions on that file in your rubygems install directory?

Chad