Re: ri doesn't seem to work

2007-06-13 Thread [EMAIL PROTECTED]

On 12/06/07, Chad Perrin [EMAIL PROTECTED] 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.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ri doesn't seem to work

2007-06-13 Thread [EMAIL PROTECTED]

On 13/06/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

On 12/06/07, Chad Perrin [EMAIL PROTECTED] 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.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ri doesn't seem to work

2007-06-13 Thread Chad Perrin
On Wed, Jun 13, 2007 at 03:06:08AM -0400, [EMAIL PROTECTED] wrote:
 On 13/06/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On 12/06/07, Chad Perrin [EMAIL PROTECTED] 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.

Thanks much!  It's working now.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr(Just another Perl hacker, 0, -2);
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ri doesn't seem to work

2007-06-13 Thread [EMAIL PROTECTED]

On 13/06/07, Chad Perrin [EMAIL PROTECTED] wrote:

On Wed, Jun 13, 2007 at 03:06:08AM -0400, [EMAIL PROTECTED] wrote:
 On 13/06/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On 12/06/07, Chad Perrin [EMAIL PROTECTED] 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.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ri doesn't seem to work

2007-06-13 Thread Chad Perrin
On Wed, Jun 13, 2007 at 10:56:30PM -0400, [EMAIL PROTECTED] wrote:
 
 
 Thanks much!  It's working now.
 
 No, thank _you_.  I had given up on making
 ri work myself.

I'm glad it worked out for both of us, then.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
awj @reddit: The terms never and always are never always true.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]