# Capistrano: update\_code - "No such file or directory" -

**URL:** <https://www.ruby-forum.com/t/capistrano-update-code-no-such-file-or-directory/95438>\
**Category:** Rails\
**Created:** [June 1, 2006, 10:09am UTC](https://www.ruby-forum.com/t/capistrano-update-code-no-such-file-or-directory/95438 "2006-06-01T10:09:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomeeo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2bfe46/32.png) [@tomeeo](https://www.ruby-forum.com/u/tomeeo)\
**Post date:** [June 1, 2006, 10:09am UTC](https://www.ruby-forum.com/t/capistrano-update-code-no-such-file-or-directory/95438/1 "2006-06-01T10:09:47Z")

</div>

Hi folks,

I’ve been staring at this one for far too long. I’m using Windows SVN  
client + Capistrano to deploy rails app to my hosted server. I can’t  
seem to get a single successful deployment. I keep getting this "No  
such file or directory - svn log -q -rhead  
[http://myhost.com/svn/spclient/trunk](http://myhost.com/svn/spclient/trunk) " . I run this svn command from  
the cmd prompt and it returns error free. Has anyone else seen this out  
there?

Thanks for help,

Tom O

see below --\>\>\>\>

C:.…Rails\>rake deploy --trace  
(in C:.…Rails)  
\*\* Invoke deploy (first\_time)  
\*\* Invoke remote:deploy (first\_time)  
\*\* Execute remote:deploy  
loading configuration  
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca  
pistrano/recipes/standard.rb  
loading configuration ./config/deploy.rb

- executing task deploy  
\*\* transaction: start
- executing task update\_code
- querying latest revision…  
c:/ruby/bin/rake.bat: No such file or directory - svn log -q -rhead  
[http://myhost.com/svn/spclient/trunk](http://myhost.com/svn/spclient/trunk)  
\*\*\* [update\_code] transaction: rollback
- [update\_code] rolling back
- executing “rm -rf  
/home/tomeeo/sites/spclient/releases/20060601080302”  
servers: [“[spc.myhost.com](http://spc.myhost.com)”]

---

<div class="post-metadata">

**Author:** ![tomeeo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2bfe46/32.png) [@tomeeo](https://www.ruby-forum.com/u/tomeeo)\
**Post date:** [June 13, 2006, 10:11pm UTC](https://www.ruby-forum.com/t/capistrano-update-code-no-such-file-or-directory/95438/2 "2006-06-13T22:11:58Z")

</div>

Tom,

Have you got it working? or a workaround? I am having the same problem  
on windows as well. My host is dreamhost, and I have tried all the  
various ways to access svn, but all return the same message as you got.

Any ideas?

Steven

Tom On wrote:

> Hi folks,
> 
> I’ve been staring at this one for far too long. I’m using Windows SVN  
> client + Capistrano to deploy rails app to my hosted server. I can’t  
> seem to get a single successful deployment. I keep getting this "No  
> such file or directory - svn log -q -rhead  
> [http://myhost.com/svn/spclient/trunk](http://myhost.com/svn/spclient/trunk) " . I run this svn command from  
> the cmd prompt and it returns error free. Has anyone else seen this out  
> there?
> 
> Thanks for help,
> 
> Tom O
> 
> see below --\>\>\>\>
> 
> C:.…Rails\>rake deploy --trace  
> (in C:.…Rails)  
> \*\* Invoke deploy (first\_time)  
> \*\* Invoke remote:deploy (first\_time)  
> \*\* Execute remote:deploy  
> loading configuration  
> c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca  
> pistrano/recipes/standard.rb  
> loading configuration ./config/deploy.rb
> 
> - executing task deploy  
> \*\* transaction: start
> - executing task update\_code
> - querying latest revision…  
> c:/ruby/bin/rake.bat: No such file or directory - svn log -q -rhead  
> [http://myhost.com/svn/spclient/trunk](http://myhost.com/svn/spclient/trunk)  
> \*\*\* [update\_code] transaction: rollback
> - [update\_code] rolling back
> - executing “rm -rf  
> /home/tomeeo/sites/spclient/releases/20060601080302”  
> servers: [“[spc.myhost.com](http://spc.myhost.com)”]

---

<div class="post-metadata">

**Author:** ![tomeeo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2bfe46/32.png) [@tomeeo](https://www.ruby-forum.com/u/tomeeo)\
**Post date:** [June 13, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/capistrano-update-code-no-such-file-or-directory/95438/3 "2006-06-13T23:42:19Z")

</div>

After quite a bit more thinking, I figured out I needed to install the  
command line version of svn as it appeared to be querying with that  
command from the local computer.

Check if you have it installed by typing “svn help” on the command line.

Steven

> Tom On wrote:
> 
> > Hi folks,
> > 
> > I’ve been staring at this one for far too long. I’m using Windows SVN  
> > client + Capistrano to deploy rails app to my hosted server. I can’t  
> > seem to get a single successful deployment. I keep getting this "No  
> > such file or directory - svn log -q -rhead  
> > [http://myhost.com/svn/spclient/trunk](http://myhost.com/svn/spclient/trunk) " . I run this svn command from  
> > the cmd prompt and it returns error free. Has anyone else seen this out  
> > there?
> > 
> > Thanks for help,
> > 
> > Tom O
> > 
> > see below --\>\>\>\>
> > 
> > C:.…Rails\>rake deploy --trace  
> > (in C:.…Rails)  
> > \*\* Invoke deploy (first\_time)  
> > \*\* Invoke remote:deploy (first\_time)  
> > \*\* Execute remote:deploy  
> > loading configuration  
> > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca  
> > pistrano/recipes/standard.rb  
> > loading configuration ./config/deploy.rb
> > 
> > - executing task deploy  
> > \*\* transaction: start
> > - executing task update\_code
> > - querying latest revision…  
> > c:/ruby/bin/rake.bat: No such file or directory - svn log -q -rhead  
> > [http://myhost.com/svn/spclient/trunk](http://myhost.com/svn/spclient/trunk)  
> > \*\*\* [update\_code] transaction: rollback
> > - [update\_code] rolling back
> > - executing “rm -rf  
> > /home/tomeeo/sites/spclient/releases/20060601080302”  
> > servers: [“[spc.myhost.com](http://spc.myhost.com)”]
