RE: Capistrano on Windows - Send Binary File

) for using Capistrano to deploy to a remote machine when the SVN
repository isn’t accessible over the Internet.

I keep running into a problem, though, with

put(“code_update.tar.gz”), “code_update.tar.gz”)

You’ll have to use the instance method instead, which lets you specify
binary mode:

data = nil‘code_update.tar.gz’, ‘rb’){ |fh| data = }

put(data, ‘code_update.tar.gz’)



This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs