rails app -> CHM file?

Hey All,

I've got an app that stores infrequently-changing-but-not-entirely-
static data. I'd like to be able to generate a snapshot of the app
(or a portion thereof) in a CHM file so users can snag a copy for
offline use, that still has the hyperlink structure intact, can be
searched, printed, etc. Optimal would be something I could feed a
route to & it would spider every link from there, using my existing

My googling has not turned up any existing gems/plugins that just
magically do what I want, alas, but I wondered if anybody here can
point me at a likely place to start on such a feature? I know there's
an rdoc plugin or branch that generates CHM from rdoc--that'll be
where I start unless someone has a better suggestion.

Many thanks!


If you are on OS X, you can use the rdoc_osx_dictionary (more info here: http://github.com/seattlerb/rdoc_osx_dictionary)). I believe there’s a dependency on hoe that isn’t installed with the gem (although it should be, but it isn’t), so if you are having problems, make sure you have hoe installed too.

A google search for “rails chm” brought up these:




Maybe you’ll have luck with those links.

Best regards

Peter De Berdt

Thanks Peter. I'm looking for cross-platform output, so I don't think
the apple dictionary format will serve. I think those links tap into
the rdoc stuff, but I'll give them a read & see.



Misread your original post a bit. You’ll probably have to look into CHM generation from rdoc and then roll your own as you already suggested.

Best regards

Peter De Berdt