Hpricot is a fast and liberal HTML parser for Ruby based on Tanaka Akira's HTree and John Resig's JQuery, but with the scanner recoded in C (using Ragel for scanning.)
Created attachment 96052 [details] hpricot-0.4 ebuild
Now in the Sunrise overlay: http://www.gentoo-sunrise.org/sunrise/browser/reviewed/dev-ruby/hpricot
This package has been tested quite successfully with (on-coming) g-gem, an ebuild generator for gems. Once I release g-gem, I will reconsider this package and add it if g-gem can't handle it.
InCVS (0.5 not 0.4)