Issue #4732 has been reported by Roger Pack.

----------------------------------------
Bug #4732: mingw no longer writes files with "\r\n" by default, presumably unexpectedly
http://redmine.ruby-lang.org/issues/4732

Author: Roger Pack
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3dev (2011-05-18 trunk 31614) [i386-mingw32]


As reported

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/36284

File.open('yo', 'w') do |f|
  f.write "a\nb"
end

in 1.9.2 writes out "a\r\nb" but 1.9.3 writes out "a\nb" presumably unexpectedly.
Cheers!


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