Feature #1136
closed"ri Kernel#require" is broken
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
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/1136Author: 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:
- rails-1.2.6
- rails-2.1.2
- rails-2.2.2
- All versions
4
like
$ ri Kernel#require
More than one method matched your request. Which one did you mean?
- Kernel#require
- Kernel#rescue_require
- Kernel#require
1
[murphy]
=end
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]