I don't see the "unexpected token" message anywhere? Could you pastie
the full output and share?

Regarding how that output came from your settings: it's how capistrano
interprets the remote_cache deployment option. It checks out your code
to the cached_copy directory, and then keeps that in sync via git fetch
and friends.

- Jamis

On 1/22/09 8:12 AM, sjwest wrote:
> on cap deploy:cold (deploy:setup,deploy:check fine)
> 
> failed: "sh -c \"if [ -d /var/www/1/apps/3/shared/cached-copy ]; then
> cd /var/www/1/apps3/shared/cached-copy && git fetch -q origin && git
> reset -q --hard 3459b7473d2b5c7e1939af7d0e6c51576a11ee57; else git
> clone -q git:// stuff
> /var/www/1/apps/2/shared/cached-copy && cd /var/www/1/apps/3/shared/
> cached-copy && git checkout -q -b deploy
> 3459b7473d2b5c7e1939af7d0e6c51576a11ee57; fi\"" on appname
> 
> Running as root user on debian, not sure how the lines set in
> deploy.rb made the command line as such from the vars set below.
> 
> Is this easy to fix ? or do i downgrade capistrano, read the getting
> started doc, had a look here confused.
> 
> variables set
> 
> set :application,
> :deploy_to,
> role :app, role :web, role :db
> default_run_options[:pty] = true
> set :repository, set :scm, "git"
> set :branch, 'master' <== troublesome
> set :deploy_via, :remote_cache
> set :user, "root"
> set :admin_runner, "root"
> 
> Cluebats most welcome, complete idiot at capristano
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to