Issue #2618 has been updated by Masaki Suketa.


Could you try ruby 1.9.2dev (2010-01-23 trunk 26383)?
I'm not sure fix this issue or not, but the script 
works fine in my Windows XP.
I have tested cygwin ruby and mswin32 ruby.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2618

----------------------------------------
http://redmine.ruby-lang.org