# Cap trouble: deploy:update stalling after "executing locally

**URL:** <https://www.ruby-forum.com/t/cap-trouble-deploy-update-stalling-after-executing-locally/188870>\
**Category:** Deployment\
**Created:** [May 19, 2010, 5:47pm UTC](https://www.ruby-forum.com/t/cap-trouble-deploy-update-stalling-after-executing-locally/188870 "2010-05-19T17:47:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clavatinc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f05b48/32.png) [@clavatinc](https://www.ruby-forum.com/u/clavatinc)\
**Post date:** [May 19, 2010, 5:47pm UTC](https://www.ruby-forum.com/t/cap-trouble-deploy-update-stalling-after-executing-locally/188870/1 "2010-05-19T17:47:43Z")

</div>

I’m afraid this may well turn out to be a newb error rather than a bug,  
but I’m having this issue while attempting to deploy an application for  
the first time (both the first time for the app and the first time for  
me).  
I am using a VPS (railsplayground is my hosting company) and have stored  
my repository on github. I am attempting to deploy incrementally. I have  
done deploy:setup successfully, but now I am at deploy:update and am  
being unsuccessful.  
Every time I run it I get this:  
cap deploy:update

- executing deploy:update’  
\*\* transaction: start
- executingdeploy:update\_code’  
updating the cached checkout on all servers  
executing locally: "git ls-remote  
git://github.com/stacyvlasits/realty.git master"

Then it just hangs. I get no error message, so I’m not sure what is  
going wrong.  
I have tried customizing my deploy.rb in many different ways, but no  
change that I have made has altered. Here is what I am currently using:  
ssh\_options[:forward\_agent] = true  
default\_run\_options[:pty] = true  
set :deploy\_via, :remote\_cache  
set :use\_sudo, false  
set :application, “realty”  
set :repository, “git://github.com/stacyvlasits/realty.git”  
set :deploy\_to, “Library/Rails/#{application}”  
set :mongrel\_conf, “#{current\_path}/config/mongrel\_cluster.yml”  
set :scm, :git  
set :user\_name, “clavatra”  
set :branch, “master”

# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`,

`subversion` or `none`  
role :web, “[resortrealty.clavat.railsplayground.net](http://resortrealty.clavat.railsplayground.net)”

# Your HTTP server, Apache/etc

role :app, “[resortrealty.clavat.railsplayground.net](http://resortrealty.clavat.railsplayground.net)”

# This may be the same as your `Web` server

role :db, “[resortrealty.clavat.railsplayground.net](http://resortrealty.clavat.railsplayground.net)”, :primary =\> true #  
This is where Rails migrations will run  
#role :db, “your slave db-server here”  
default\_run\_options[:pty] = true  
I posted similar information on the github site and they suggested it  
may have something to do with SSH. Sadly, I am also pretty new to SSH  
and none of my attempts to change things in that direction have born  
fruit either.  
Much obliged,
