Alex Young
6/28/2007 6:35:00 PM
Vincent Predoehl wrote:
> Alex Young wrote:
>> Vincent Predoehl wrote:
>>> I do not have rails, but I like to use Ruby Gems. I installed gem
>>> hpricot and when I run my script with 'ruby', it has trouble finding the
>>> Hpricot library. When I run the same code in IRB, it finds the gem. I
>>> do have require 'rubygems' before require 'hpricot'. The code fails on
>>> line 5, where I use the hpricot library for the first time ( which seems
>>> strange )
>>>
>>> require 'rubygems'
>>> require 'pricot'
>> -----------^ typo?
>
> I saw the typo and fixed it. I regret the typo because it only added to
> the confusion, but I still have the same problem.
>
What platform is this on? What's the exact error?
--
Alex