Ruby bindings for Google's Gumbo HTML5 parser.
Stick it in your
gem 'ruby-gumbo', '~> 1.1'
And then parse away:
require 'gumbo' doc = ::(html)
You'll probably want to peruse the documentation to see how to navigate a document and its nodes.
Grab the repository, and make sure to include submodules:
git checkout https://github.com/nevir/ruby-gumbo --recursive
And from there you should be able to
rake build and
gem install pkg/*.gem.
This is not a Google product and is not supported by Google in any way.