smarx / waz-cmd

Ruby-based command-line tool for the Windows Azure Service Management API
Microsoft Public License
11 stars 3 forks source link

Open service package in binary mode when uploading #3

Closed ariofrio closed 12 years ago

ariofrio commented 12 years ago

Fixes #2

This should work on Linux, too: http://stackoverflow.com/questions/8929610/automatically-open-a-file-as-binary-with-ruby

smarx commented 12 years ago

Odd. I've used this a lot on Mac and Windows and never had trouble. Perhaps I've been using a different version of Ruby. In any case, I can't see any downside to the fix. Thank you!

ariofrio commented 12 years ago

Using Ruby 1.9.3p194 on Windows here. :-)

smarx commented 12 years ago

I'm on ruby 1.9.2p290 on a Mac at the moment. I doubt I've used anything newer.

On Tue, May 15, 2012 at 3:01 PM, Andres Riofrio < reply@reply.github.com

wrote:

Using Ruby 1.9.3p194 on Windows here. :-)


Reply to this email directly or view it on GitHub: https://github.com/smarx/waz-cmd/pull/3#issuecomment-5728752

ariofrio commented 12 years ago

Couldn't find an explanation on what changed. Can't wait for Travis-CI Windows/Mac support.