RDOC for Ruby standard libs

I think I have RDOC installed fine (Gentoo Linux), as the command “ri
String” works fine. However, I can’t read doumentation on any of the
standard libraries. For instance, “ri Socket” returns an error.
Are the stdlib docs installed by default?

[email protected] wrote:

I think I have RDOC installed fine (Gentoo Linux), as the command “ri
String” works fine. However, I can’t read doumentation on any of the
standard libraries. For instance, “ri Socket” returns an error.
Are the stdlib docs installed by default?

No.

You can run ri over the standard lib files, but it might break the rest
of the ri data files.

You can view the rdoc files at:

http://ruby-doc.org/stdlib/

That page also has a link for downloading the files.

James

http://www.ruby-doc.org - Ruby Help & Documentation
Ruby Code & Style - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools