Fixing zlib Errors On Capistrano Deploy

Ever since I started doing Capistrano deploys from my Mac, I have been seeing the following error:

zlib(finalizer): the stream was freed prematurely.

The error seems harmless, but I figure that errors are there for a reason and the Sysadmin in me decided to try to get rid of it. A quick Google for an answer said something about adding the following line of code to you Capfile (or in my case, I separated it out to my config/deploy.rb:

ssh_options[:compression] = "none"

I couldn’t actually find the reason for this. But I guess finding the solution is good enough for now.

Related posts:

  1. Fixing CentOS Root Certificate Authority Issues
  2. Email::Find
  3. Capistrano Hangs on Mac OS X Leopard
Posted in Rails. Tags: . 1 Comment »
  • http://www.tuxwire.com/?p=6459 Fixing zlib Errors On Capistrano Deploy | TuxWire : The Linux Blog

    [...] the original post:  Fixing zlib Errors On Capistrano Deploy Share and [...]