Re: rb-rubygems does not work

Tim Pritlove <[email protected]> Wed, 23 Aug 2006 21:39:03 +0200
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Hi,

On 22.08.2006, at 05:34, Yuhei Kuratomi wrote:

> Hi.
>
> I'm a maintainer of rb-rubygems.  I sometimes hear this problem and  
> the cause of it is that 'sources' gem is not found in the specified  
> gems directory.
>
> If rb-rubygems is installed properly, 'sources' gem should be found  
> as '${prefix}/lib/ruby/gems/1.8/gems/sources-0.0.1'.  This location  
> is specified in the Portfile so I wonder why this problems is  
> sometimes reported.  I hope re-installing rb-rubygems could solve it.

So far no success. All ruby ports I install via "port" do go into the  
specified directory, but the gem command keeps on complaining

[tim@elektron /opt/local/lib/ruby/gems/1.8/gems]$ sudo gem install  
builder
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in  
`gem_original_require': no such file to load -- sources (LoadError)
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
custom_require.rb:27:in `require'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
remote_installer.rb:462:in `sources'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
remote_installer.rb:472:in `source_index_hash'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
remote_installer.rb:436:in `install'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
gem_commands.rb:258:in `execute'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
gem_commands.rb:220:in `execute'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command.rb: 
69:in `invoke'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
cmd_manager.rb:117:in `process_args'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
cmd_manager.rb:88:in `run'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
gem_runner.rb:29:in `run'
         from /opt/local/bin/gem:23


I need to install the "builder" gem.

Greetings
Tim
-- 
Tim Pritlove, Discordian Evangelist, Chaos Computer Club
<mailto:[email protected]> <http://tim.geekheim.de/> <http:// 
www.blinkenlights.de/>
<jabber:[email protected]> <gizmo://timpritlove> <skype://timpritlove>
------
"We have Ph.D.s here who know the stuff cold, and we don't
believe it's possible to protect digital content" -- Steve Jobs