Skip to content

Instantly share code, notes, and snippets.

@sethherr
Created June 17, 2013 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sethherr/5796827 to your computer and use it in GitHub Desktop.
Save sethherr/5796827 to your computer and use it in GitHub Desktop.
Error on cap deploy
RAILS_ENV=production be cap deploy
triggering load callbacks
* 2013-06-17 09:10:19 executing `production'
triggering start callbacks for `deploy'
* 2013-06-17 09:10:19 executing `multistage:ensure'
* 2013-06-17 09:10:19 executing `deploy'
* 2013-06-17 09:10:19 executing `deploy:update'
** transaction: start
* 2013-06-17 09:10:19 executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@github.com:sethherr/bikeindex.git master"
command finished in 897ms
* executing "if [ -d /home/deploy/bikeindex/shared/cached-copy ]; then cd /home/deploy/bikeindex/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 6bcce71b0c1f88a5e4898d7229ac903ee83a14cf && git clean -q -d -x -f; else git clone -q -b master git@github.com:sethherr/bikeindex.git /home/deploy/bikeindex/shared/cached-copy && cd /home/deploy/bikeindex/shared/cached-copy && git checkout -q -b deploy 6bcce71b0c1f88a5e4898d7229ac903ee83a14cf; fi"
servers: ["your-server-here"]
*** [deploy:update_code] rolling back
* executing "rm -rf /home/deploy/bikeindex/releases/20130617131251; true"
servers: ["your-server-here"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment