James Britt wrote:

> 
> It appears to be related to rdoc on windows being called through rdoc.bat
> 

Not a patch, but a description of a hack that fixes this for me:

In  rdoctask.r, I added

def rdoc
   RUBY_PLATFORM =~ /win32/ ? 'rdoc.bat' : 'rdoc'
end

At the end of 'define', I changed that last call to 'sh' to get the 
platform-specific rdoc script name:

def define
# ...
   file rdoc_target => @rdoc_files + ["Rakefile"] do
     rm_r @rdoc_dir rescue nil
     opts = option_list.join(' ')
     sh %{#{rdoc} -o #{@rdoc_dir} #{opts} #{@rdoc_files}}
   end
   self
end


Now there is rdoc goodness :)

Has not been tested on anything other than my Win2k laptop.



James