$ 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:in `find_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:in `find_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:in `display_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:in `display_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:in `display_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:in `run'
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:in `load'
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:in `load'
from /usr/bin/ri:19
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, 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)
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.
···
On May 6, 8:50 pm, Eric Hodel <drbr...@segment7.net> 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.