I have a local project with I am versioning with a remote subversion
resitory on which is on the same site as I am wanting to deploy my
app. I have spent the last 3 hours trying to work this out, but I am
lost
I think capsitrano is having trouble connecting to my repository, my
deploy.rb is as follows
set :application, 'mackstarnet'
set :repository, "svn://
mackstar.net/mainrepo"
set :svn_username, "******"
set :svn_password, "*****"
set :deploy_to, "/var/www/railsdeploy"
set :user, "deploy"
default_run_options[:pty] = true
task :production do
role :web, "
www.mackstar.net"
role :app, "
www.mackstar.net"
#role :db, "
www.mackstar.net", :primary=>true
end
cap deploy:cold
* executing `deploy:cold'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
and here is when it looks like it starts going wonky!
Any help would be appreciatted
executing locally: "svn info svn://
mackstar.net/mainrepo -rHEAD"
svn: Server does not support retrieving information about the
repository root
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/railsdeploy/releases/20081121122455;
true"
** [deploy:update_code] exception while rolling back:
Capistrano::NoMatchingServersError, `deploy:update_code' is only run
for servers matching {:except=>{:no_release=>true}}, but no servers
matched
/Library/Ruby/Gems/1.8/gems/capistrano-2.5.2/lib/capistrano/recipes/
deploy/scm/subversion.rb:58:in
`query_revision': tried to run `svn info svn://
mackstar.net/mainrepo
-rHEAD' and got unexpected result "" (RuntimeError)
Many thanks
Richard