Rdoc/ri issue

$ ri “String#to_s”
/usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:909:in
load_method': undefined method[]’ for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:
934:in load_methods_matching' from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb: 788:infind_methods’
from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:
787:in each' from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb: 787:infind_methods’
from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:
928:in load_methods_matching' from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb: 642:indisplay_method’
from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:
685:in display_name' from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb: 710:indisplay_names’
from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:
707:in each' from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb: 707:indisplay_names’
from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:
1021:in run' from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb: 309:inrun’
from /usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/bin/ri:5
from /usr/local/lib/site_ruby/1.8/roll/ledger.rb:118:in
original_load' from /usr/local/lib/site_ruby/1.8/roll/ledger.rb:118:inload’
from /usr/local/lib/site_ruby/1.8/roll/ledger.rb:283:in load' from /usr/local/lib/site_ruby/1.8/roll/kernel.rb:32:inload’
from /usr/bin/ri:19

On May 6, 2010, at 16:17, Intransition wrote:

$ ri “String#to_s”
/usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:909:in
load_method': undefined method[]’ for nil:NilClass (NoMethodError)

Did you upgrade rdoc-data and reinstall it as well? The earlier
documentation sets had bugs, 2.5.3 is the latest.

On May 6, 8:50 pm, Eric H. [email protected] wrote:

On May 6, 2010, at 16:17, Intransition wrote:

$ ri “String#to_s”
/usr/lib/ruby/gems/1.8/gems/rdoc-2.5.8/lib/rdoc/ri/driver.rb:909:in
load_method': undefined method []’ for nil:NilClass (NoMethodError)

Did you upgrade rdoc-data and reinstall it as well? The earlier documentation sets had bugs, 2.5.3 is the latest.

Sure did. Tried it again to be sure:

$ sudo gem install rdoc-data
To install ri data for RDoc 2.5+ run:

rdoc-data

Successfully installed rdoc-data-2.5.3
1 gem installed
Installing ri documentation for rdoc-data-2.5.3…
Installing RDoc documentation for rdoc-data-2.5.3…
$ sudo rdoc-data --install

I get the same result.