Project

General

Profile

Actions

Feature #1136

closed

"ri Kernel#require" is broken

Added by jeremy_henty (Jeremy Henty) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
[ruby-core:21954]

Description

=begin
$ ri Kernel#require
More than one method matched your request. You can refine
your search by asking for information on one of:

  Kernel#require, Kernel#rescue_require, Kernel#require

Now what do I do to see the Kernel#require documentation?
=end

Actions #1

Updated by murphy (Kornelius Kalnbach) almost 16 years ago

=begin
Jeremy Henty wrote:

Bug #1136: "ri Kernel#require" is broken
http://redmine.ruby-lang.org/issues/show/1136

Author: Jeremy Henty
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]

$ ri Kernel#require
More than one method matched your request. You can refine
your search by asking for information on one of:

 Kernel#require, Kernel#rescue_require, Kernel#require

Now what do I do to see the Kernel#require documentation?
it would be nice if ri would use a ambiguity resolution like gem:

$ gem uninstall rails
Select gem to uninstall:

  1. rails-1.2.6
  2. rails-2.1.2
  3. rails-2.2.2
  4. All versions

4

like
$ ri Kernel#require
More than one method matched your request. Which one did you mean?

  1. Kernel#require
  2. Kernel#rescue_require
  3. Kernel#require

1

[murphy]

=end

Actions #2

Updated by akr (Akira Tanaka) over 13 years ago

  • Project changed from Ruby to Ruby master
  • Assignee set to drbrain (Eric Hodel)

Updated by drbrain (Eric Hodel) over 13 years ago

  • Category set to lib
  • Status changed from Open to Closed
  • Target version set to 1.9.3

I cannot reproduce:

$ gem19 install rails -i ~/tmp/gems

24 gems installed
$ GEM_HOME=~/tmp/gems ri19 Kernel#require

Kernel#require

(from ruby core)

$ GEM_HOME=~/tmp/gems ri19 --version
ri19 3.8
$ ruby19 --version
ruby 1.9.3dev (2011-07-07 trunk 32428) [x86_64-darwin10.8.0]

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0