gentoo-alt  

Re: Re: [gentoo-alt] [PREFIX] rubygems

Fabian Groffen
Thu, 16 Nov 2006 23:19:20 -0800

On 16-11-2006 23:43:33 -0500, Kurt Hindenburg wrote:
> > Fixed, the problem was in the gems.eclass.  Please emerge --sync and try
> > again.
>
> Rubygems and hpricot installed, but I think something is not correct.
> Ruby can't find hpricot:
> 
> % irb
> rirb(main):001:0> require 'hpricot'
> LoadError: no such file to load -- hpricot
>        from (irb):1:in `require'
>        from (irb):1
> 

I'm a n00b with ruby, but:

irb(main):005:0> require 'rubygems'
=> true
irb(main):006:0> require 'hpricot'
=> true

It seems you first need rubygems before you can require hpricot.
hpricot is installed in usr/lib/ruby/gems/1.8 while rubygems is
installed in usr/lib/ruby/site_ruby/1.8.  It makes some sense to me,
but then again, I don't know anything about ruby.

-- 
Fabian Groffen
Gentoo on a different level
-- 
[EMAIL PROTECTED] mailing list