Bug #8225

Missing RI file for Kernel.open

Added by David Unric over 2 years ago. Updated about 2 years ago.

Assignee:Eric Hodel
ruby -v:2.0.0p0 Backport:



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
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
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
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
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
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
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
from /usr/bin/ri:12:in `'


#1 Updated by Zachary Scott over 2 years ago

Try ri Kernel#open instead

#2 Updated by Zachary Scott over 2 years ago

  • Status changed from Open to Feedback

#3 Updated by David Unric over 2 years 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 over 2 years ago

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

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

#5 Updated by Zachary Scott about 2 years 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 about 2 years ago

Fixed in RDoc by f72b586 and b84f38e

Also available in: Atom PDF