# Executing \`deploy:update\_code' hangs

**URL:** <https://www.ruby-forum.com/t/executing-deploy-update-code-hangs/130049>\
**Category:** Deployment\
**Created:** [February 24, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/executing-deploy-update-code-hangs/130049 "2008-02-24T23:39:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rain\_tmc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e47774/32.png) [@rain\_tmc](https://www.ruby-forum.com/u/rain_tmc)\
**Post date:** [February 24, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/executing-deploy-update-code-hangs/130049/1 "2008-02-24T23:39:13Z")

</div>

When running either cap deploy or cap deploy:cold cap basically freezes  
at the this step:

- executing `deploy:update\_code’

I have svn installed on windows workstation along with linux on  
sharehost(bluehost). I am able to run cap deploy:setup and I the  
preceding commands before update\_code work and are executed correctly

Here is the task I am using:

deploy.task :default do  
transaction do  
run “#{scm\_command} info /home/my\_user/my\_proj/”  
run “ls -x1 /usr/lib | wc -l”  
update\_code  
symlink  
end  
end

The first two commands are just used to ensure I can run commands on the  
remote server(which I can). The first command is running against a  
manual deployment, capistrano’s deployment obviously hasn’t been done  
yet…

The other thing I noticed is that deploy:setup create a release and  
shared folder but the release folder is completely empty. I have seen  
some posts that seem to indicate that there should be empty subfolder  
beneath it?
