I just spent a while to port Hpricot to ruby 1.9 and finally had success. The gem can be found at http://weez-int.com/gem/hpricot-0.6.gem But more important i think is to share information on how to create the gem, here are the: fixed ext/hpricot_scan/extconf.rb: http://p.ramaze.net/19 fixed Rakefile: http://p.ramaze.net/20 The most important changes here are patching the C generated by ragel (i have no knowledge of ragel, that should be probably fixed on their side, i guess) and that ruby1.9 has no ::Config module anymore, it's RbConfig. I'll post the same information to hpricots bugtracker, but i figured it's a commonly used gem and so more people should be able to enjoy it on 1.9 ;) ^ manveru