Skip to content

Instantly share code, notes, and snippets.

@whitmanc
Created July 25, 2012 19:56
Show Gist options
  • Save whitmanc/3178206 to your computer and use it in GitHub Desktop.
Save whitmanc/3178206 to your computer and use it in GitHub Desktop.
$ cap deploy:cold
* executing `deploy:cold'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:whitmanc/sisbro.git master"
command finished in 6192ms
* executing "if [ -d /data/spree/shared/cached-copy ]; then cd /data/spree/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard c1ab496b2fd316e1dac3b2f2d08b842fe401a432 && git clean -q -d -x -f; else git clone -q [email protected]:whitmanc/sisbro.git /data/spree/shared/cached-copy && cd /data/spree/shared/cached-copy && git checkout -q -b deploy c1ab496b2fd316e1dac3b2f2d08b842fe401a432; fi"
servers: ["50.116.11.162"]
Password:
[50.116.11.162] executing command
command finished in 6114ms
copying the cached version to /data/spree/releases/20120725195318
* executing "cp -RPp /data/spree/shared/cached-copy /data/spree/releases/20120725195318 && (echo c1ab496b2fd316e1dac3b2f2d08b842fe401a432 > /data/spree/releases/20120725195318/REVISION)"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 194ms
* executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* executing `deploy:assets:symlink'
* executing "rm -rf /data/spree/releases/20120725195318/public/assets &&\\\n mkdir -p /data/spree/releases/20120725195318/public &&\\\n mkdir -p /data/spree/shared/assets &&\\\n ln -s /data/spree/shared/assets /data/spree/releases/20120725195318/public/assets"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 105ms
* executing "chmod -R g+w /data/spree/releases/20120725195318"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 112ms
* executing "rm -rf /data/spree/releases/20120725195318/log /data/spree/releases/20120725195318/public/system /data/spree/releases/20120725195318/tmp/pids &&\\\n mkdir -p /data/spree/releases/20120725195318/public &&\\\n mkdir -p /data/spree/releases/20120725195318/tmp"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 93ms
* executing "ln -s /data/spree/shared/system /data/spree/releases/20120725195318/public/system"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 89ms
* executing "ln -s /data/spree/shared/log /data/spree/releases/20120725195318/log"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 88ms
* executing "ln -s /data/spree/shared/pids /data/spree/releases/20120725195318/tmp/pids"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 95ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /data/spree/releases"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 106ms
* executing "cd /data/spree/releases/20120725195318 && bundle install --gemfile /data/spree/releases/20120725195318/Gemfile --path /data/spree/shared/bundle --deployment --quiet --without development test"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
** [out :: 50.116.11.162] Could not find spree_email_to_friend-1.2 in any of the sources
command finished in 5147ms
*** [deploy:update_code] rolling back
* executing "rm -rf /data/spree/releases/20120725195318; true"
servers: ["50.116.11.162"]
[50.116.11.162] executing command
command finished in 152ms
failed: "sh -c 'cd /data/spree/releases/20120725195318 && bundle install --gemfile /data/spree/releases/20120725195318/Gemfile --path /data/spree/shared/bundle --deployment --quiet --without development test'" on 50.116.11.162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment