Hello Guys,

I've an error when trying to deploy with Capistrano, when i run cap deploy 
it tries to do a cp -R instead of calling svn, i've run a cap deploy:check 
and everything seems fine (output below).

Any help or hint appreciated as i've been googling this group and reading 
the docs but cannot find why this happens ;-)

Thank by advance,

N.

Versions:

   - Ruby 1.9.2p290
   - Rails 3.1
   - Capistrano v2.14.1
   - Rvm 1.17.7
   - Subversion 1.6.6

Platform:

   - Working on OSX Mountain Lion
   - Deploying to Ubuntu Linux

Logs:

   - Here is the log of cap deploy:check

cap deploy:check
  * 2013-12-16 14:22:50 executing `deploy:check'
  * executing "test -d /var/www/vhosts/myapp.com.au/rails_app/releases"
    servers: ["11.11.11.11"]
    [11.11.11.11] executing command
    command finished in 1810ms
  * executing "test -w /var/www/vhosts/myapp.com.au/rails_app"
    servers: ["11.11.11.11"]
    [11.11.11.11] executing command
    command finished in 1435ms
  * executing "test -w /var/www/vhosts/myapp.com.au/rails_app/releases"
    servers: ["11.11.11.11"]
    [11.11.11.11] executing command
    command finished in 1739ms
  * executing "which /usr/bin/svn"
    servers: ["11.11.11.11"]
    [11.11.11.11] executing command
    command finished in 1433ms
You appear to have all necessary dependencies installed


   - Here is the log of cap deploy

cap deploy
  * 2013-12-16 14:10:17 executing `deploy'
  * 2013-12-16 14:10:17 executing `deploy:update'
 ** transaction: start
  * 2013-12-16 14:10:17 executing `deploy:update_code'
  * executing "cp -R https://svn.example.com/private/myapp/trunk 
/var/www/vhosts/myapp.com.au/rails_app/releases/20131216131017 && (echo  > 
/var/www/vhosts/myapp.com.au/rails_app/releases/20131216131017/REVISION)"
    servers: ["11.11.11.11"]
    [11.11.11.11] executing command
 ** [out] cp: impossible d'évaluer 
«https://svn.example.com/private/myapp/trunk»: Aucun fichier ou dossier de 
ce type
    command finished in 1406ms
*** [deploy:update_code] rolling back
  * executing "rm -rf 
/var/www/vhosts/myapp.com.au/rails_app/releases/20131216131017; true"
    servers: ["11.11.11.11"]
    [11.11.11.11] executing command
    command finished in 1431ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'ruby-1.9.2-
p290@myapp_rails31' -c 'cp -R https://svn.example.com/private/myapp/trunk 
/var/www/vhosts/myapp.com.au/rails_app/releases/20131216131017 && (echo  > 
/var/www/vhosts/myapp.com.au/rails_app/releases/20131216131017/REVISION)'" 
on 11.11.11.11

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/4e6d3b65-6d17-4ae3-a8bc-2c694f56c555%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to