From: barjunk Date: 2007-06-19T07:50:05+09:00 Subject: Re: getting ri working on FreeBSD On Jun 13, 1:17 pm, Chad Perrin wrote: > On Thu, Jun 14, 2007 at 06:08:30AM +0900, Ryan Zezeski wrote: > >barjunkwrote: > > > On Jun 13, 12:04 am, Chad Perrin wrote: > > > >> -- > > >> CCD CopyWrite Chad Perrin [http://ccd.apotheon.org] > > >> Leon Festinger: "A man with a conviction is a hard man to change. Tell him > > >> you disagree and he turns away. Show him facts and figures and he questions > > >> your sources. Appeal to logic and he fails to see your point." > > > > Chad, > > > > Where did you end up finding information about that...especially the - > > > U switch. > > > > Mike B. > > > You can run rdoc -h for a list of the commands. > > > I think you may want to use -Y instead of -R because you are building > > the documentation for the standard classes. > > I wish I'd known that before I ran the command with -R. > > > > > # rdoc --ri -Y -U ruby-1.8.6 > > > I've just started using FreeBSD (6.2) as of a week ago, but I would > > think the port should do this automatically? I looked at the > > /usr/ports/lang/ruby18 and it seems to have an option to build/install > > the documentation. There is also /usr/ports/lang/ruby-doc-stdlib, but I > > didn't try building it. > > I don't recall that being an option at the time I installed Ruby. C'est > la vie. > > -- > CCD CopyWrite Chad Perrin [http://ccd.apotheon.org] > Amazon.com interview candidate: "When C++ is your hammer, everything starts > to look like your thumb." Interestingly: rdoc --ri -Y -U ruby-1.8.6 gives me: invalid option -- U For help on options, try 'rdoc --help' I'm using RDoc V1.0.1 - 20041108, which i think comes with ruby 1.8.4. Mike B.