From: matt@... (matt neuburg) Date: 2008-07-30T12:24:24+09:00 Subject: Re: how regenerate ri data? Ryan Davis wrote: > On Jul 29, 2008, at 15:04 , matt neuburg wrote: > > > http://rubyforge.org/forum/forum.php?forum_id=25981: > > > >> * ri now walks the ancestors of a class looking for a method e.g. ri > >> File#read displays documentation for IO#read (may require > >> regeneration of > >> ri data) > > > > Sounds cool! But: > > > > Big-iMac-Attack:~ mattneub$ rdoc --version > > rdoc 2.1.0 > > Big-iMac-Attack:~ mattneub$ ri --version > > ri 2.1.0 > > Big-iMac-Attack:~ mattneub$ ri File#read > > Nothing known about File#read > > > > So it sounds like I do need to regenerate the ri data. How? Thx - m. > > % sudo make install-doc > > in the source tarball (assumes you installed your own ruby--if you > didn't, you deleted your rdoc data?) Didn't help, presumably because the rdoc being used is the one in the tarball, not the new version...? m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com