On 6/5/07, ZHANG Yin <gsofhon / gmail.com> wrote:
> I've searched the forum and found one solution.
>
> require 'rubygems'
> require 'hpricot'
>
> It works, but seems a bit...
>
> Under windows, a single "require 'hpricot'" will work, and I think it'll
> work under fedora 7 too.
>
> Are there any solutions?

When you installed under windows, most likely you selected the option
in the one-click installer that says "Enable rubygems".

You can make Fedora act the same (untested) by setting your
environment to use RUBYOPT:

 export RUBYOPT=-rrubygems

hth,
Todd