From: Mauricio Fernandez Date: 2006-11-14T04:04:23+09:00 Subject: Re: [ANN] FastRI 0.1.0: faster, smarter RI docs for Ruby, DRb-enabled On Tue, Nov 14, 2006 at 02:13:00AM +0900, Dominic Sisneros wrote: > On 11/8/06, Mauricio Fernandez wrote: > >FastRI is an alternative to the ri command-line tool. It is *much* faster, > >and also allows you to offer RI lookup services over DRb. FastRI is smarter > >than ri, and can find classes anywhere in the hierarchy without specifying > >the "full path". It also knows about gems, and can tell you e.g. which > >extensions to a core class were added by a specific gem. > > How do you get it to index ruby gems? fastri-server searches "#{Gem.path}/doc/*/ri" for yaml files holding RI documentation when it builds the index (the first time you run it and when you do fastri-server -b). These files are generated by RubyGems as you install the corresponding package (since 0.9.0). Unlike ri, FastRI remembers in which gem a method/class/module was defined. This knowledge will soon be exposed to the end-user, allowing you to know e.g. which gems extend a given core class, or to get the extensions introduced by a gem. -- Mauricio Fernandez - http://eigenclass.org - singular Ruby