Ruby ri does not display core docs - is it a bug or do I miss a package?

Ronald Fischer ynnor@mm.st
Tue Aug 1 15:06:00 GMT 2017


I have installed Ruby and the Ruby-doc package (and also some other doc
packages related to Ruby gems). However, ri does not work for core
packages. Example:


$ ri String
= String < Object

(from gem bigdecimal-1.3.2)
------------------------------------------------------------------------------
= Instance methods:

  to_d

(from gem rake-11.3.0)
------------------------------------------------------------------------------
= Instance methods:

  ext, pathmap, pathmap_explode, pathmap_partial, pathmap_replace

We can see that String related methods from the gems are displayed, but
not what is in the core package. Similarily:

$ ri 'String#length'
Nothing known about String#length

Is this a bug?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 86689 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170801/61ae293e/attachment.obj>
-------------- next part --------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list