Hi, It seems capistrano can't find your svn command (it's not in your path). I found this in the Capistrano code for Subversion:
# Sets the default command name for this SCM. Users may override this # by setting the :scm_command variable. default_command "svn" So try replacing "set :svn, '/home/user/packages/bin/svn'" with "set :scm_command, '/home/user/packages/bin/svn'". Onno wrote: > Hi group, > I have used Capistrano 1.4.1 with great satisfaction for more than > year but now that have recently upgraded to 2.0.1 I can't get it to > work anymore. > > It am stuck with an error message that the svn command cannot be > found. svn works on both server (Linux) and client (Windows). > > Cheers, > Onno > > U:\SVN\mydomain.com\root\trunk>cap deploy:cold > * executing `deploy:cold' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > * executing "svn checkout -q -r12 svn+ssh://[EMAIL PROTECTED]/home > /user/svn/epfwiki/trunk /home/user/mydomain.com/staging/releases/2007 > 1213105128 && (echo 12 > /home/user/mydomain.com/staging/releases/200 > 71213105128/REVISION)" > servers: ["mydomain.com"] > Password: > [mydomain.com] executing command > ** [out] sh: svn: command not found > command finished > *** [deploy:update_code] rolling back > * executing "rm -rf /home/user/mydomain.com/staging/releases/200712 > 13105128; true" > servers: ["mydomain.com"] > [mydomain.com] executing command > command finished > command "svn checkout -q -r12 svn+ssh://[EMAIL PROTECTED]/home/user/ > svn/epfwiki/trunk /home/user/mydomain.com/staging/releases/2007121310 > 5128 && (echo 12 > /home/user/mydomain.com/staging/releases/200712131 > 05128/REVISION)" failed on mydomain.com > > > Below it my deploy.rb > > set :application, 'MyAPP' > set :repository, 'svn+ssh://[EMAIL PROTECTED]/home/user/svn/epfwiki/ > trunk' > #set :repository, 'svn+ssh://[EMAIL PROTECTED]/home/user/svn/ > epfwiki/trunk' > #set :repository, 'U:/SVN/mydomain.com/root/trunk' > set :use_sudo, false > set :checkout, 'export' > set :svn, '/home/user/packages/bin/svn' > #set :svn, '/home/user/packages/bin/svn' old > #set :scm_command, 'svn' > set :deploy_to, "/home/user/mydomain.com/staging" > set :user, 'user' > > > default_run_options[:pty] = true > # Cap won't work on windows without the above line, see > # > http://groups.google.com/group/capistrano/browse_thread/thread/13b029f75b61c09d > # Its OK to leave it true for Linux/Mac > > #ssh_options[:port] = 22 # workaround for authentication errors? > #ssh_options[:verbose] = :debug > #ssh_options[:username] = 'user' > #ssh_options[:host_key] = 'dss' > > # If you aren't deploying to /u/apps/#{application} on the target > # servers (which is the default), you can specify the actual location > # via the :deploy_to variable: > # set :deploy_to, "/var/www/#{application}" > > # If you aren't using Subversion to manage your source code, specify > # your SCM below: > # set :scm, :subversion > > role :app, 'mydomain.com' > role :web, 'mydomain.com' > role :db, 'mydomain.com', :primary => true -- Cheers, - Jacob --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
