From owner-freebsd-questions@FreeBSD.ORG Thu Jun 14 02:56:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3A9716A400 for ; Thu, 14 Jun 2007 02:56:32 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7F48213C44B for ; Thu, 14 Jun 2007 02:56:32 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so422710mue for ; Wed, 13 Jun 2007 19:56:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ccAZwuEJKKfzbsdbLzaWR6thugoTz/cxwmCV1w+wmEG+pUsTFwXOjcxBtMvKmvJ3aMkz4AqYq277WIM7KT3kpfwFRPDD7egOqXn+zjrbCgOJosW+fJpi3Chpm0+9fm+h+/dN6wX2FJgsVL0xBao/Cgfx8SOPan7P+w1QI1IMZBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mqcx9U/Ay466k11FWcfeCvQB20Jn5zDPM7f6aohRIx3XdgW2Qq9vLRlR6Fvnq/ZrUA9jyisNUOTXYU3E26hzf1zBOV3NHOk/CKHzVpfT77HKXKMSbSTNBYSMpddcXHLAsdZPw+ANdeAcu93zCky9iYZaQXUuA4evGlKHh/n3+gU= Received: by 10.82.175.17 with SMTP id x17mr2476219bue.1181789790873; Wed, 13 Jun 2007 19:56:30 -0700 (PDT) Received: by 10.82.187.12 with HTTP; Wed, 13 Jun 2007 19:56:30 -0700 (PDT) Message-ID: Date: Wed, 13 Jun 2007 22:56:30 -0400 From: "illoai@gmail.com" To: "FreeBSD Questions" In-Reply-To: <20070613080246.GA20321@demeter.hydra> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070612231052.GB18576@demeter.hydra> <20070613080246.GA20321@demeter.hydra> Subject: Re: ri doesn't seem to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 02:56:33 -0000 On 13/06/07, Chad Perrin wrote: > On Wed, Jun 13, 2007 at 03:06:08AM -0400, illoai@gmail.com wrote: > > On 13/06/07, illoai@gmail.com wrote: > > >On 12/06/07, Chad Perrin wrote: > > >> 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? > > > > > >On a hunch I typed "ri -h" . . . > > >and another hunch made me type "ri -c" . . . > > > > > >. . . > > >Well, crap. rdoc wants something I can't think > > >to give it. > > >Hopefully this will start making sense. > > > > > > > Hello, self. Also, hello, Chad! > > > > % tar jxvf /ports/distfiles/ruby/ruby-1.8.6.tar.bz2 > > % sudo rdoc --ri -R -U ruby-1.8.6/ > > > > seems to be producing output. > > Interesting. Any idea why this isn't more obvious? > > I guess my mistake was in not trying "ri -c". I'm also not terribly > clear on how I'd have guessed at: > /usr/ports/distfiles/ruby/ruby-1.8.6.tar.bz2 > > . . . without any easily discoverable guidance. Something on the ruby site hinted at the rdoc parser needing the source files, though I suppose that hardly qualifies as "Easily discoverable guidance". > > Thanks much! It's working now. No, thank _you_. I had given up on making ri work myself. -- --