Getting ever so close. Got an error while trying to do my first deployment to staging. Following http://dev.numerex.com/blog/article/simplifying-fast-deployments-on-your-staging-server/ I downloaded the deploy.rb file and modified the user name/pw/svn location. However, when I try to run this from my windows XP development machine, I get an error:
G:\jaspergps\trunk>cap staging deploy
* executing `staging'
* executing `deploy'
triggering before callbacks for `deploy'
* executing `daemons:stop'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "svn info https://svn.numerexfast.com/repos/fast/Ublip_v2/branches/jaspergps.numerexfast.com/trunk --username XXXX --password XXXX --no-auth-cache -rHEAD"
*** [deploy:update_code] rolling back
* executing "rm -rf /opt/ublip/rails/releases/20100205210234; true"
servers: ["jaspergps.numerexfast.com"]
Password:
[jaspergps.numerexfast.com] executing command
command finished
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/recipes/deploy.rb
:97:in ``': No such file or directory - svn info https://svn.numerexfast.com/repos/fast/Ublip_v2/branches/jaspergps.numerexfast.com/trunk --username XXXX --password XXXX --no-auth-cache -rHEAD (Errno::ENOENT)
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy.rb:97:in `run_locally'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy.rb:37:in `load'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy.rb:88:in `with_env'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy.rb:37:in `load'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy/scm/subversion.rb:56:in `query_revision'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy/scm/base.rb:35:in `send'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy/scm/base.rb:35:in `method_missing'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/reci
pes/deploy/scm/base.rb:63:in `local'
... 43 levels...
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/cli/
execute.rb:14:in `execute'
from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/bin/cap:4
from c:/ruby/bin/cap:19:in `load'
from c:/ruby/bin/cap:19
Initially I thought it was because svn was not installed properly. But when I run svn info, everything seems to work:
G:\jaspergps\trunk>svn info https://svn.numerexfast.com/repos/fast/Ublip_v2/branches/jaspergps.numerexfast.com/trunk --username XXXX --password XXXX --no-auth-cache -rHEAD
Path: trunk
URL: https://svn.numerexfast.com/repos/fast/Ublip_v2/branches/jaspergps.numerexf
ast.com/trunk
Repository Root: https://svn.numerexfast.com/repos/fast
Repository UUID: a6a12d19-640a-6318-f1b0-93c9a2af0243
Revision: 12543
Node Kind: directory
Last Changed Author: jgerritsen
Last Changed Rev: 12543
Last Changed Date: 2010-02-05 15:14:54 -0800 (Fri, 05 Feb 2010)
Any hints? Is this the correct procedure of doing this?
