public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ronald Fischer <ynnor@mm.st>
To: cygwin@cygwin.com
Subject: Ruby ri does not display core docs - is it a bug or do I miss a package?
Date: Wed, 02 Aug 2017 13:41:00 -0000	[thread overview]
Message-ID: <1501681267.474784.1060798048.2CB5081E@webmail.messagingengine.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 706 bytes --]

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?

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 86689 bytes --]

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


--
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

             reply	other threads:[~2017-08-02 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 13:41 Ronald Fischer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-01 15:06 Ronald Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1501681267.474784.1060798048.2CB5081E@webmail.messagingengine.com \
    --to=ynnor@mm.st \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).