From: Chad Perrin Date: 2007-06-13T17:04:51+09:00 Subject: Re: getting ri working on FreeBSD On Wed, Jun 13, 2007 at 08:12:27AM +0900, Chad Perrin wrote: > I seem to have run into a small problem on FreeBSD. Hopefully, someone > here has an answer. (Note: cross-posted to freebsd-questions list) > > No matter what I try to look up with ri (the Ruby information utility > that is used to look up stuff about classes, methods, et cetera, from the > command line), it returns the same result: > > > ri Time.strftime > Nothing known about Time.strftime > > I don't see anything in /usr/ports/lang that seems to relate to the > matter of ensuring ri has a database of information to share. What > am I missing? How can I get ri working properly on FreeBSD? I managed to get it working. Apparently, I had to run: # tar jxvf /usr/ports/distfiles/ruby/ruby-1.8.6.tar.bz2 # rdoc --ri -R -U ruby-1.8.6/ . . . but there didn't appear to be any documentation for that in any easily discoverable location. -- 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."