Can't seem to get SVN setup with 'cap setup_svn' or 'cap setup_scm'
Keeps failing on this point. Others having the same problem here: http://forum.slicehost.com/comments.php?DiscussionID=362&page=2
Is this a bug?
My error on setup_scm:
cap svn_setup
* executing task svn_setup
* executing task svn_create_repos
* executing task svn_grant_user_access
* executing "sudo grep '^deploy:' /etc/passwd || sudo /usr/sbin/useradd --shell=/bin/bash --create-home deploy"
servers: ["exampleapp.com"]
[exampleapp.com] executing command
** [out :: exampleapp.com] deploy:x:1000:100::/home/deploy:/bin/bash
command finished
* executing "sudo grep 'scm:' /etc/group || sudo /usr/sbin/groupadd scm"
servers: ["exampleapp.com"]
[exampleapp.com] executing command
** [out :: exampleapp.com] scm:x:110:deploy
command finished
* executing "sudo groups deploy | grep ' scm ' || sudo /usr/sbin/usermod -G scm -a deploy"
servers: ["exampleapp.com"]
[exampleapp.com] executing command
command finished
* executing "sudo test -d /var/www/apps/example/repos || sudo mkdir -p -m2775 /var/www/apps/example/repos"
servers: ["exampleapp.com"]
[exampleapp.com] executing command
command finished
* executing "sudo chgrp -R scm /var/www/apps/example/repos"
servers: ["exampleapp.com"]
[exampleapp.com] executing command
command finished
* executing "sudo svnadmin verify /var/www/apps/example/repos > /dev/null 2>&1 || sudo svnadmin create /var/www/apps/example/repos"
servers: ["exampleapp.com"]
[exampleapp.com] executing command
command finished
* executing "sudo chmod -R g+w /var/www/apps/example/repos"
servers: ["exampleapp.com"]
[exampleapp.com] executing command
command finished
* executing task svn_import
Adding branches and tags
sh: line 1: svn: command not found
Importing application.
sh: line 1: svn: command not found
Moving application to new directory
Checking out application.
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/deprec-1.9.0/lib/deprec/recipes/svn.rb:149:in `chdir': No such file or directory - example (Errno::ENOENT)
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/deprec-1.9.0/lib/deprec/recipes/svn.rb:149
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/actor.rb:159:in `instance_eval'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/actor.rb:159:in `svn_import'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/deprec-1.9.0/lib/deprec/recipes/svn.rb:113
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/actor.rb:159:in `instance_eval'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/actor.rb:159:in `svn_setup'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `send'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `execute_recipes!'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `each'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `execute_recipes!'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:239:in `execute!'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:12:in `execute!'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/capistrano-1.4.1/bin/cap:11
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/cap:16:in `load'
from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/cap:16