Install.rb problem - ri and rdoc think OS X is windows!

I think this is the problem:

opfile += “.rb” if CONFIG[“target_os”] =~ /win/

On OS X with the default ruby (ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]) you will see

irb(main):006:0> p CONFIG[“target_os”]

I’m not sure if the install.rb was auto-generated, or who I should
report this too, but it’s moderately confusing to have to rename ri.rb
to ri, and rdoc.rb to rdoc after installation. And they are such great
tools I gotta have 'em.