After upgrading to 1.8.4 using one-click, ri isn't working for some
items:
C:\Documents and Settings\gavin.kistner>ri Array
C:/ruby/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in `concat': can't
convert nil into Array (TypeError)
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in
`merge_in'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_reader.rb:56:in
`get_class'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_reader.rb:52:in
`get_class'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:70:in
`report_class_stuff'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:106:in
`get_info_for'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:135:in
`process_args'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:134:in
`process_args'
from C:/ruby/bin/ri.bat:55
C:\Documents and Settings\gavin.kistner>ri Array#concat
···
-----------------------------------------------------------
Array#concat
array.concat(other_array) -> array
------------------------------------------------------------------------
Appends the elements in other_array to _self_.
[ "a", "b" ].concat( ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
C:\Documents and Settings\gavin.kistner>ri --version
ri v1.0.1 - 20041108
C:\Documents and Settings\gavin.kistner>ruby --version
ruby 1.8.4 (2006-04-14) [i386-mswin32]
I found two other references to this in the nntp archive, but no
followup responses. Using fxri for Array or String causes fxri to crash
(unsurprisingly).
I tried regenerating my system-wide ri data, to no avail:
C:\ruby\src\ruby-1.8.4>rdoc -R
array.c:
c........................................................................
bignum.c: c............................
[snip]
Generating RI...
Files: 83
Classes: 198
Modules: 66
Methods: 2187
Elapsed: 126.922s
C:\ruby\src\ruby-1.8.4>ri Array
C:/ruby/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in `concat': can't
convert nil into Array (TypeError)
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_descriptions.rb:99:in
`merge_in'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_reader.rb:56:in
`get_class'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_reader.rb:52:in
`get_class'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:70:in
`report_class_stuff'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:106:in
`get_info_for'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:135:in
`process_args'
from C:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:134:in
`process_args'
from C:/ruby/bin/ri.bat:55
Anyone got any groovier suggestions?