Bug #8225
closedMissing RI file for Kernel.open
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
load_method'
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
find_methods'
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
display_method'
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 `'
Updated by zzak (zzak _) over 11 years ago
Try ri Kernel#open
instead
Updated by zzak (zzak _) over 11 years ago
- Status changed from Open to Feedback
Updated by dunric (David Unric) over 11 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.
Updated by zzak (zzak _) over 11 years ago
- Category changed from doc to lib
- Status changed from Feedback to Assigned
- Assignee changed from zzak (zzak _) to drbrain (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
Updated by zzak (zzak _) over 11 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
Updated by drbrain (Eric Hodel) over 11 years ago
Fixed in RDoc by f72b586 and b84f38e