From: listrecv@... Date: 2006-07-19T05:55:14+09:00 Subject: Re: ri, rdoc, gems, and rails Thank you, Eric, for the great info. I followed your directions and they worked beautifully. Eric Hodel wrote: > On Jul 18, 2006, at 8:10 AM, listrecv@gmail.com wrote: > > > I'm finding that I get gemdocs even with ri, but not for all packages. > > You will need to generate the ri for packages built before 0.9.0. > These packages never built their ri documentation. > > > I get them for Rails' plugins, for instance, but not for rails proper. > > Does anyone know how I can control which ones appear? > > gem rdoc --no-rdoc --ri gemname > > will add them. If you want to remove them permanently you can delete > them out of the gem's doc dir. If you want to suppress them install > ruby from CVS and use the new flags to ri, --system, --site, --gems, > and --home. > > > Also, a problem is when a plugin or monkeypatch adds things to a class > > - they know appear in the class's ri, even when that extension is only > > part of a particular lib. Is there a way to shut this off? > > A CVS ruby has ri options for this. I also have a half-updated gemri > that will allow you to show ri only for a gem. I'll finish it and > add it to rubygems sometime after 1.8.5p2 because it depends on > features that don't exist yet. > > -- > Eric Hodel - drbrain@segment7.net - http://blog.segment7.net > This implementation is HODEL-HASH-9600 compliant > > http://trackmap.robotcoop.com