For some reason, I can’t get my cap deploy to work… I keep getting
the error:
C:\Dev\InstantRails\rails_apps\4MyPasswords>cap deploy
-
executing task deploy
-
executing task update
** transaction: start -
executing task update_code
-
querying latest revision…
*** [update_code] transaction: rollback -
[update_code] rolling back
-
executing “rm -rf /home/jseidel/railsapp/releases/20070715123241”
servers: [“4mypasswords.com”]
Password: gt*9facts[4mypasswords.com] executing command
command finished
C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/
capistrano/
scm/subversion.rb:87:in ``‘: No such file or directory - svn log --no-
auth-cache
–username jseidel -q --limit 1
http://smartpay.svnrepository.com/svn/4mypassw
ords/trunk (Errno::ENOENT)
from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/
capistrano-1.4.1/li
b/capistrano/scm/subversion.rb:87:insvn_log' from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/li b/capistrano/scm/subversion.rb:23:in
latest_revision’
from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/
capistrano-1.4.1/li
b/capistrano/configuration.rb:62:ininitialize' from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/li b/capistrano/configuration.rb:89:in
call’
from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/
capistrano-1.4.1/li
b/capistrano/configuration.rb:89:in[]' from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/li b/capistrano/configuration.rb:236:in
method_missing’
from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/
capistrano-1.4.1/li
b/capistrano/scm/subversion.rb:63:incheckout' from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/li b/capistrano/recipes/standard.rb:80:in
load’
… 15 levels…
from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/
capistrano-1.4.1/li
b/capistrano/cli.rb:12:inexecute!' from C:/Dev/InstantRails/ruby/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/bi n/cap:11 from C:/Dev/InstantRails/ruby/bin/cap:16:in
load’
from C:/Dev/InstantRails/ruby/bin/cap:16
=====
My deploy.rb is:
Capistrano deployment configuration
set :user, ‘jseidel’
set :svn_username, ‘jseidel’
set :server, ‘4mypasswords.com’
set :svnserver, ‘smartpay.svnrepository.com’
set :application, ‘4mypasswords’
set :applicationdir, ‘railsapp’
‘Standard’ approach
set :repository, “http://#{svnserver}/svn/#{application}/trunk”
RapidSVC URL
#set :repository, “https://secure.svnrepository.com/s_jseidel/
4mypasswords”
Aptana URL
#set :repository, “http://smartpay.svnrepository.com/svn/
4mypasswords”
role :web, server
role :app, server
role :db, server, :primary => true
set :deploy_to, “/home/#{user}/#{applicationdir}”
task :restart, :roles => :app do
end
task :after_update_code, :roles => [:web, :db, :app] do
run “chmod 755 #{release_path}/public -R”
end
Respoitory URL from RapidSVN
https://secure.svnrepository.com/s_jseidel/4mypasswords
Repository URL from Aptana SVN
http://smartpay.svnrepository.com/svn/4mypasswords
=====
I have two different URLs and I’ve tried both of them; one is the URL
that I originally setup from RapidSVN and the 2nd is the one I used
when I setup Aptana SVN.
When I originally setup svn, I did it withought the trunk/branches/
tags subdirs and when I first ran into this problem, I created those 3
subdirs, and re-imported my project into trunk.
One of the techs at railsplayground said he tried my deploy.rb file
and it worked just great, but they can’t figure out why I can’t do the
same thing.
Oh… and I’m running on Windows XP.
Any ideas as to what the heck is going on here…?
Thanks very much!
…jon