From: Gavin Sinclair Date: 2004-04-23T10:03:54+09:00 Subject: Re: how to get ri/rdoc working for [user-installed libraries] [> = "Dave"] > >> P.S. We still don't know what approach to take to get ri data >> installed when you install a gem :) > > 1. Presumably the gems stuff stored somewhere the list of all installed > gems. Thus you know where to find gem documentation. > > 2. Write a wrapper "rig" which invokes 'ri' with the appropriate -d > option if you're getting the documentation for a gem. > > rig --gem rexml --version 3.4 > > => ri -d /usr/local/gems/rexml/3.4/ri/.. > > 3. Bask in the glory > > 4. If, after a while, this is clearly the way to go, I'll fold it all > into ri/rdoc. Very good idea and approach, I think. I expect we can distribute 'rig' with rubygems in about a month's time if the other developers agree. # I think "a while" will prove to be quite a long time, and rightly so. Thanks, Gavin