Michael,


On 2009-06-01 02:42, Michael Guterl wrote:
> On Sun, May 31, 2009 at 10:47 AM, Philip Rhoades<phil / pricom.com.au>  wrote:
>> People,
>>
>> I had problems getting v1.2.3 installed so for this version I firstly
>> uninstalled the previous version.  This time the gem install went OK and
>> "gem list" gives:
>>
>>   nokogiri (1.3.0)
>>
>> but when I run the demo program I get:
>>
>>   ./t095.rb:3:in `require': no such file to load -- nokogiri (LoadError)
>>
>> and the same from irb:
>>
>>   irb
>>   irb(main):001:0>  require 'nokogiri'
>>   LoadError: no such file to load -- nokogiri
>>         from (irb):1:in `require'
>>         from (irb):1
>>
>> What now?
>>
>
> require 'rubygems'
> require 'nokogiri'
>
> Did you try that?


That works - thanks! - shouldn't the line "require 'rubygems'" be in the 
example code on:

	http://nokogiri.rubyforge.org/nokogiri/

?

Regards,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW	2001
Australia
E-mail:  phil / pricom.com.au