From: "vendredi5h@..." Date: 2006-09-19T10:34:49+09:00 Subject: Re: Fatal errors in hpricot 0.4 Hello all, After changing my OS from Mandriva to Ubuntu Dapper 6.06, I've got this same error message when running a ruby script that was working fine on my Mandriva setup. Anybody could give me/us some hint ? Thanks Yannick PS. Alder, does your script use Mechanize gem? Alder Green a �crit : > I've been using hpricot 0.4 in Windows XP with no problems. Recently I > migrated some scripts to Ubuntu Dapper 6.06, running Ruby 1.8.4, and > encountered a weird fatal problems with hpricot 0.4: > > irb(main):001:0> require 'hpricot' > => true > irb(main):002:0> Hpricot("

A simple test string.

") > NoMethodError: private method `scan' called for Hpricot:Module > from /usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/parse.rb:19:in > `make' > from /usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/parse.rb:11:in > `parse' > from /usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/parse.rb:4:in > `Hpricot' > from (irb):2 > > That error causes all tests in test_parser.rb to fail upon startup.