I am trying to perform my first deployment, following the
DeployingRailsApplications pdf, step by step, I just bought... I
have teh most simple rails test project (no db), it's in a svn
repository, the cap deploy:setup succeed
yves$ cap deploy:setup
* executing `deploy:setup'
* executing "umask 02 && mkdir -p /var/rails/aelmat/projet_test /var/
rails/aelmat/projet_test/releases /var/rails/aelmat/projet_test/
shared /var/rails/aelmat/projet_test/shared/system /var/rails/aelmat/
projet_test/shared/log /var/rails/aelmat/projet_test/shared/pids"
servers: ["www.aelmat.net"]
Password:
[www.aelmat.net] executing command
command finished
but not the cap deploy
yves$ cap deploy
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
Password:
svn: PROPFIND request failed on '/svn/aelmat/projet_test/trunk'
svn: PROPFIND of '/svn/aelmat/projet_test/trunk': 405 Method Not
Allowed (http://www.aelmat.net)
*** [deploy:update_code] rolling back
* executing "rm -rf /var/rails/aelmat/projet_test/releases/
20071201133614; true"
servers: ["www.aelmat.net"]
Password:
[www.aelmat.net] executing command
command finished
/usr/local/lib/ruby/gems/1.8/gems/capistrano-2.1.0/lib/capistrano/
recipes/deploy/scm/subversion.rb:58:in `query_revision': tried to run
`svn info http://www.aelmat.net/svn/aelmat/projet_test/trunk --
username sybille --password xxxxxxxx --no-auth-cache -rHEAD' and got
unexpected result "" (RuntimeError)
my deploy.rb is very basic
set :application, "projet_test"
set :repository, "http://www.aelmat.net/svn/aelmat/#{application}/
trunk"
set :scm_username, 'sybille'
set :scm_password, Proc.new
{ Capistrano::CLI.password_prompt('Password: ') }
role :app, "www.aelmat.net"
role :web, "www.aelmat.net"
role :db, "www.aelmat.net", :primary => true
set :user, 'sybille'
set :deploy_to, "/var/rails/aelmat/#{application}"
set :deploy_via, :export
and I added in my vhost.conf
ServerAdmin [EMAIL PROTECTED]
ServerName test.aelmat.net:80
DocumentRoot /current/public
<Directory /current/public>
AllowOverride All
</Directory>
my svn structure seems ok (/var/svn/aelmat/projet_test) I can access
it easily from my dev machine vias svn , and I already imported and
commited my project into trunk...
I have been googling all the day, but now I don't know where to search
for ...
why the checkout can be done ? is there any other way to check if svn
is ok ?
thanks for your lights.... hope it will not my last try ..
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---