Posts Tagged ‘ capistrano ’

Capistrano Hangs on Mac OS X Leopard

Monday, April 5th, 2010

I use Capistrano to deploy my webapps and have been for a while. I also deploy right from my laptop quite frequently. So I was a little taken aback when I could deploy in one place and not in another. It turned out that Capistrano was having issues with deploying to multiple servers. In fact, it turned out that the problem had the appearance of being Capistrano, but in actuality, it was Net-SSH. The whole issue can be tracked via the Lighthouse ticket here. I’m going to show you how to diagnose if you have this problem faster and how to fix it.
(more…)

Fixing zlib Errors On Capistrano Deploy

Sunday, October 4th, 2009

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:

1
ssh_options[:compression] = "none"

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