Forum: Rails deployment Cap: 'No such file or directory' when doing 'cap:update'

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Thierry D. (Guest)
on 2008-11-04 23:40
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"]
Password:
    [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/  -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/) 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?
Luis L. (Guest)
on 2008-11-04 23:47
(Received via mailing list)
On Tue, Nov 4, 2008 at 6:40 PM, Thierry D.
<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/  -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
Thierry D. (Guest)
on 2008-11-05 02:14
Thank you. That was it.

Now I'm facing another problem, I'll write a new discussion :D
This topic is locked and can not be replied to.