Rubygems is kind enough to generate RDoc for installed gems, but the directories move as the gem versions evolve, and it’s inconvenient to keep browsing for them. This tool produces a useful HTML index with direct links to the RDocs for all the gems installed on your system.
The program’s git repository is here: gemdocindex.
Either browse to ‘gemdocindex’ there and download the raw version, or check out (“clone”) the repository as follows:
You can then track future changes by executing this command in the ‘gemdocindex’ directory:
Execute this command from a UNIX command line:
(Windows users can probably run the same command, adding “ruby” at the beginning.)
Tested on OS X; should work on other platforms. Patches are welcome.
If you found this helpful, you can subscribe to get more articles about Rails and Ruby-related topics and tools.