RI not working

I have Ruby 1.87 installed on OS X 10.5.3… When I try ri gc (from the
Pickaxe book) or ri Array I get the following:

----------------------------------------------------------- Class: Array
(no description…)

Help!!

On Sat, Jun 7, 2008 at 12:43 AM, Ron G. [email protected] wrote:

I have Ruby 1.87 installed on OS X 10.5.3… When I try ri gc (from the
Pickaxe book) or ri Array I get the following:

----------------------------------------------------------- Class: Array
(no description…)

Help!!

For what it’s worth, I tried ‘ri Array’ on 10.5.3 and it worked fine.
That
would be using the ‘ruby 1.8.6 (2007-09-24 patchlevel 111)’ which is
included in 10.5.3 (that might be part of the Developers/Xcode package).

If you’re using a version of ruby installed from macports, then it
sounds
like something is wrong with that port. While this reply does not help
you
to fix that, at least you can use ‘/usr/bin/ri’ to get listings of most
of
the ruby documentation. I doubt all that much changed between 1.8.6 and
1.8.7!

I got it. Needed to run ‘make install-doc’