From: matt@... (matt neuburg) Date: 2009-04-04T13:19:34+09:00 Subject: Re: ri is suddenly empty Eric Hodel wrote: > apple ruby 1.8.6 with RDoc 2.4.3: > > $ ri String#squeeze > Updating ri class cache with 4563 classes... > --------------------------------------------------------- String#squeeze > str.squeeze([other_str]*) => new_str > > From Ruby 1.8 > ------------------------------------------------------------------------ > Builds a set of characters from the other_str parameter(s) using > [...] > > I can't fix this bug without your help. You'll have to do some > investigation to find out what the problem is so I can reproduce and > fix it. Well: Big-iMac-Attack:~ mattneub$ ri --list-doc-dirs /usr/local/share/ri/1.8/system /usr/local/lib/ruby/gems/1.8/doc/builder-2.1.2/ri /usr/local/lib/ruby/gems/1.8/doc/columnize-0.2/ri /usr/local/lib/ruby/gems/1.8/doc/fastri-0.3.1.1/ri /usr/local/lib/ruby/gems/1.8/doc/hpricot-0.6.164/ri /usr/local/lib/ruby/gems/1.8/doc/linecache-0.43/ri /usr/local/lib/ruby/gems/1.8/doc/rake-0.8.3/ri /usr/local/lib/ruby/gems/1.8/doc/rdoc-2.2.1/ri /usr/local/lib/ruby/gems/1.8/doc/rubygems-1.3.1/ri /usr/local/lib/ruby/gems/1.8/doc/rubytree-0.5.2/ri So it isn't looking in any unusual places, and it isn't find two complete sets of ri data. My guess is that you're going to tell me to rebuild my ri data *again*. But every time I've done this, i.e. trying to use "modern rdoc" against ruby 1.8.6 source, it's been a disaster. That's why my current ri data is built with the rdoc that ships with the 1.8.6 source. I've asked for explicit instructions that work, but have never gotten any. m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com