livingsocial / rake-pipeline

An extension to Rake for dealing with a directory of inputs, a number of filters, and a directory of outputs
MIT License
276 stars 38 forks source link

Address handling binary files on windows systems. #144

Open dogshoes opened 10 years ago

dogshoes commented 10 years ago

Hello,

Ruby requires a special flag to correctly handle binary files on windows systems.

http://ruby-doc.org/core-1.8.7/IO.html#binmode-method http://ruby-doc.org/core-2.0.0/IO.html#binmode-method