Capistrano/Moonshine: Anyway get hanging commands/connections?

4 views
Skip to first unread message

Dev Purkayastha

unread,
Nov 2, 2009, 7:38:01 AM11/2/09
to Boston Ruby Group
Has anyone seen this before? (If you don't know Moonshine: it's a
useful gem for using Capistrano to manage a server's dependencies and
setup. My problem might be related to Moonshine, or it could just be a
problem with cap.)

My process is: create a new EC2 instance, deploy:setup, then deploy.
But that third step (my first deploy) seems to hang for a while, never
completing. I eventually cancel the process and start it again; my
second deploy ends up completing.

Any ideas why this may be?

Dev

Brian Kaney

unread,
Nov 2, 2009, 7:46:27 AM11/2/09
to boston-r...@googlegroups.com
What's the version (and build-level) of your ruby and net-ssh gem?  There was an issue with 1.8.7 >= p72 and net-ssh <= 2.0.13 -ish.

If this looks like it could be you, try to update net-ssh to at least 2.0.14.  Here's some references:




--
Brian

Dev Purkayastha

unread,
Nov 2, 2009, 11:36:38 AM11/2/09
to Boston Ruby Group
Thanks for the link Bryan. I'm at:

net-ssh (2.0.15)
ruby 1.8.7-p174 (but using REE)

I tried a deploy with the oldest Ruby version I have my system (ruby
1.8.6-p286) without success; I'll look more into those patches to see
if there's something I want to monkey-patch. (I haven't been able to
determine where in the tool chain things are hanging, be it sshd or
net-ssh.)
Reply all
Reply to author
Forward
0 new messages