From: Dick Davies Date: 2005-02-13T20:19:36+09:00 Subject: Re: ri enhancements * James Britt [0203 01:03]: > Dick Davies wrote: > >Just a quick check, really: > > > >is there any way to have ri pick up the rdoc of installed third-party > >packages? > > Yes, but. > > You can run rdoc -[R|r|Y] on any installed code, and it will create the > ri data files corresponding to the rdoc for that code. Thanks James, that's what I was after. (wonder if there's a way to have rubygems do that by default). > There may be ways around this, but my experience trying to add the > standard lib to ri caused all sorts of ri issues. Oh. And you know what you're doing too. Oh well, scratch the 'have rubygems screw up my ri install by default' request :). > If you installed Rails via rubygems you should have rdoc documentation > viewable through rubygem's built-in 'gem_server' app. You could also > view the docs directly in the gems/docs dir. Yeah, I just started getting into irb, and know that has iHelp now to hook into ri. The api docs are great but I had no browser until recently (don't ask). Turns out elinks can do frames, so I'm in gravy now - just did: alias railsapi="elinks http://rails.rubyonrails.com" and now have a nice easy reference in an xterm - cheers! -- 'Power corrupts. Absolute power - is kind of neat.' -- John Lehman, Secretary of the Navy, 1981-1987 Rasputin :: Jack of All Trades - Master of Nuns