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.