I''m attempting to get my rails app working on our staging server, and
have
been trying to use capistrano to do so. When I try to run the command
''cap
deploy'', I am asked for a password and then get the following error:
* executing task deploy
** transaction: start
* executing task update_code
* querying latest revision...
* executing "if [[ ! -d /var/www/apps/acadtech2/releases/20060726213456
]]; then\n svn co -q -r11
http://128.164.137.82:8080/svn/acadtech2/trunk/var/www/apps/acadtech2/releases/20060726213456
&&\n (test -e
/var/www/apps/acadtech2/revisions.log || touch
/var/www/apps/acadtech2/revisions.log && chmod 666
/var/www/apps/acadtech2/revisions.log) && echo `date +\"%Y-%m-%d
%H:%M:%S\"`
$USER 11 20060726213456 >>
/var/www/apps/acadtech2/revisions.log;\n fi"
servers: ["128.164.137.230"]
Password:
[128.164.137.230] executing command
** [out :: 128.164.137.230] bash: line 2: svn: command not found
command finished
*** [update_code] transaction: rollback
* [update_code] rolling back
* executing "rm -rf /var/www/apps/acadtech2/releases/20060726213456"
servers: ["128.164.137.230"]
[128.164.137.230] executing command
command finished
/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/command.rb:45:in
`process!'': command "if [[ ! -d
/var/www/apps/acadtech2/releases/20060726213456 ]]; then\\\n
svn co -q -r11
http://128.164.137.82:8080/svn/acadtech2/trunk/var/www/apps/acadtech2/releases/20060726213456
&&\\\n (test -e
/var/www/apps/acadtech2/revisions.log || touch
/var/www/apps/acadtech2/revisions.log && chmod 666
/var/www/apps/acadtech2/revisions.log) && echo `date +\"%Y-%m-%d
%H:%M:%S\"`
$USER 11 20060726213456 >>
/var/www/apps/acadtech2/revisions.log;\\\n fi" failed on
128.164.137.230 (RuntimeError)
So it appears that svn is not working on the staging server. When I log
into the server and run the svn command, however, it works fine. Has anyone
else run into a similar problem?
Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060726/9fc281e7/attachment.html