Setting-up HTMLDOC

I need to generate PDF files from HTML and HTMLDOC is listed in the
Rails wiki as an option. It looks interesting, and I can see from the
example posted that it’s usable from within a Rails app. But I can’t
find anything on how to set it up for use within a Rails app. No Gem.
No Plugin. Anybody know anything about this?