From: Ryan Davis Date: 2009-04-25T17:18:10+09:00 Subject: Re: [ANN] RDoc 2.4.2 Released On Apr 24, 2009, at 18:04 , Nobuyoshi Nakada wrote: > Hi, > > At Sat, 25 Apr 2009 07:37:21 +0900, > Ryan Davis wrote in [ruby-talk:334956]: >>>> rdoc version 2.4.2 has been released! >>> >>> Any plan to update the bundled rdoc in the repository? >> >> Yes. Eric and I both need to update the repo w/ stuff we've >> released. :/ > > FYI, there're a couple of fixes, specific and non-specific to > 1.9, other than removing trailing spaces. > > Index: lib/rdoc/ri/paths.rb > =================================================================== > --- lib/rdoc/ri/paths.rb (revision 19930) > +++ lib/rdoc/ri/paths.rb (working copy) > @@ -29,4 +29,7 @@ module RDoc::RI::Paths # r23070 > VERSION = RbConfig::CONFIG['ruby_version'] > > - base = File.join(RbConfig::CONFIG['datadir'], "ri", VERSION) > + pre, post = RbConfig::CONFIG['RUBY_INSTALL_NAME'].split(/ruby/, 2) > + ri = "#{pre||''}ri#{post||''}" > + rdoc = "#{m[0]}rdoc#{m[1]}" Hrm. Either ruby svn and rdoc svn have diverged, or something else is weird with this patch. For example, 'm' is not a local variable in this method, and there has been very little activity on the rdoc svn side. I'll poke around, but I think I'm going to have to leave this to eric to merge. thanks for the heads up.