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


#1

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:inwith_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?


#2

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


#3

Thank you. That was it.

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