msoulier
6/30/2006 4:02:00 PM
When I install a new gem, it runs rdoc on the source to pull out docs
that are then available via the gem_server on localhost 8808. Being a
long-time Perl programmer, I want perldoc.
If I install say, Text::CSV from the CPAN, I can then run
perldoc Text::CSV
to get the docs from it.
Conversely, I just installed the net-ssh gem.
[msoulier@tigger ~]$ gem list --local | grep ssh
net-ssh (1.0.9)
[msoulier@tigger ~]$ ri net-ssh
Nothing known about net-ssh
[msoulier@tigger ~]$ ri net/ssh
Nothing known about net/ssh
[msoulier@tigger ~]$ ri Net::SSH
Nothing known about Net::SSH
So, what is ri for? Seems to work on built-in classes like Array, but
not gem code.
Thanks,
Mike