# Cap: 'No such file or directory' when doing 'cap:update'

**URL:** <https://www.ruby-forum.com/t/cap-no-such-file-or-directory-when-doing-cap-update/152532>\
**Category:** Deployment\
**Created:** [November 4, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/cap-no-such-file-or-directory-when-doing-cap-update/152532 "2008-11-04T22:40:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thithi32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@thithi32](https://www.ruby-forum.com/u/thithi32)\
**Post date:** [November 4, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/cap-no-such-file-or-directory-when-doing-cap-update/152532/1 "2008-11-04T22:40:45Z")

</div>

Hello, I stuck with this for a few hours … Can anyone help me (I’m new  
with Cap)

…\>cap deploy:update

- executing `deploy:update’  
\*\* transaction: start
- executing `deploy:update\_code’  
\*\*\* [deploy:update\_code] rolling back
- executing “rm -rf /var/www/titi/league/releases/20081104213013;  
true”  
servers: [“[ksXXXXXX.kimsufi.com](http://ksXXXXXX.kimsufi.com)”]  
Password:  
[[ksXXXXXX.kimsufi.com](http://ksXXXXXX.kimsufi.com)] executing command  
command finished  
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/capistrano/recipes/deploy.rb:37:in  
``‘: No such file or directory - svn info  
[http://ksXXXXXX.kimsufi.com/svn/titi/league/trunk/](http://ksXXXXXX.kimsufi.com/svn/titi/league/trunk/) -rHEAD  
(Errno::ENOENT)  
from  
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/capistrano/recipes/deploy.rb:37:in  
`load' from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/capistrano/recipes/deploy.rb:88:in `with\_env’  
…

My repository ([http://ksXXXXXX.kimsufi.com/svn/titi/league/trunk/](http://ksXXXXXX.kimsufi.com/svn/titi/league/trunk/)) seems  
to work fine (I can browse it using this adresse). Maybe I have to set a  
password?? But it didn’t seem to work that way for last project we  
did…  
Any clue?

---

<div class="post-metadata">

**Author:** ![thithi32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@thithi32](https://www.ruby-forum.com/u/thithi32)\
**Post date:** [November 4, 2008, 10:47pm UTC](https://www.ruby-forum.com/t/cap-no-such-file-or-directory-when-doing-cap-update/152532/2 "2008-11-04T22:47:18Z")

</div>

On Tue, Nov 4, 2008 at 6:40 PM, Thierry D.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> - executing "rm -rf /var/www/titi/league/releases/20081104213013;  
> c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.0/lib/capistrano/recipes/deploy.rb:37:in  
> Any clue?  
> “No such file or directory - svn info  
> [http://ksXXXXXX.kimsufi.com/svn/titi/league/trunk/](http://ksXXXXXX.kimsufi.com/svn/titi/league/trunk/) -rHEAD”

Looks like your server/workstation lacks svn installed?

Try locally “svn --version” and also in the server:  
cap shell and try running “svn --version” and see what happen.

## – Luis L. AREA 17

Human beings, who are almost unique in having the ability to learn from  
the experience of others, are also remarkable for their apparent  
disinclination to do so.  
Douglas Adams

---

<div class="post-metadata">

**Author:** ![thithi32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@thithi32](https://www.ruby-forum.com/u/thithi32)\
**Post date:** [November 5, 2008, 1:14am UTC](https://www.ruby-forum.com/t/cap-no-such-file-or-directory-when-doing-cap-update/152532/3 "2008-11-05T01:14:26Z")

</div>

Thank you. That was it.

Now I’m facing another problem, I’ll write a new discussion 😃
