Bug #8225

Missing RI file for Kernel.open

Added by David Unric about 1 year ago. Updated 10 months ago.

[ruby-core:54027]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:lib
Target version:2.1.0
ruby -v:2.0.0p0 Backport:

Description

Hi,

just would like to report following error in Ruby 2.0.0p0 & 2.1.0-dev documentation:

ri 'Kernel.open'
/usr/lib/ruby/2.0.0/rdoc/store.rb:617:in initialize': store at /usr/share/ri/2.0.0/system missing file /usr/share/ri/2.0.0/system/Kernel/open-c.ri for Kernel::open (RDoc::Store::MissingFileError)
from /usr/lib/ruby/2.0.0/rdoc/store.rb:617:in
open'
from /usr/lib/ruby/2.0.0/rdoc/store.rb:617:in load_method'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:1185:in
loadmethod'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:1197:in block in load_methods_matching'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:983:in
block in find
methods'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:982:in each'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:982:in
findmethods'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:1194:in load_methods_matching'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:1213:in
lookup
method'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:508:in add_method'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:783:in
displaymethod'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:802:in display_name'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:827:in
block in display
names'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:824:in each'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:824:in
display_names'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:1361:in run'
from /usr/lib/ruby/2.0.0/rdoc/ri/driver.rb:356:in
run'
from /usr/bin/ri:12:in `'

History

#1 Updated by Zachary Scott about 1 year ago

Try ri Kernel#open instead

#2 Updated by Zachary Scott about 1 year ago

  • Status changed from Open to Feedback

#3 Updated by David Unric about 1 year ago

I know about invoking documentation for instance methods. It's about open is listed & linked in Kernel's class methods. It either has to be removed or the missing ri for Kernel::open added.

#4 Updated by Zachary Scott about 1 year ago

  • Category changed from doc to lib
  • Status changed from Feedback to Assigned
  • Assignee changed from Zachary Scott to Eric Hodel

=begin
This actually seems like a bug in RDoc, so I'm assigning it to Eric.

You can easily reproduce this by the following:

(({ri open})) from trunk
=end

#5 Updated by Zachary Scott 12 months ago

  • Status changed from Assigned to Closed

I've moved this over to RDoc's bug tracker: https://github.com/rdoc/rdoc/issues/222

#6 Updated by Eric Hodel 10 months ago

Fixed in RDoc by f72b586 and b84f38e

Also available in: Atom PDF