Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created September 26, 2012 13:51
Show Gist options
  • Save coderforhire/3788172 to your computer and use it in GitHub Desktop.
Save coderforhire/3788172 to your computer and use it in GitHub Desktop.
anthony@localhost:~/rails_projects/CLOUD_POKER_DB$ git push live master
git@50.56.174.223's password:
Everything up-to-date
anthony@localhost:~/rails_projects/CLOUD_POKER_DB$ vi config/deploy.rb
anthony@localhost:~/rails_projects/CLOUD_POKER_DB$ cap deploy:update
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote ssh://git@50.56.174.223/home/git/cloud_poker_db_source/ master"
git@50.56.174.223's password:
command finished in 4032ms
* executing "git clone -q ssh://git@50.56.174.223/home/git/cloud_poker_db_source/ /var/www/releases/20120926134941 && cd /var/www/releases/20120926134941 && git checkout -q -b deploy 09352c34c492c9838c8652861585dd3e75d7f232 && (echo 09352c34c492c9838c8652861585dd3e75d7f232 > /var/www/releases/20120926134941/REVISION)"
servers: ["50.56.174.223", "cloudpokerdb.com"]
Password:
[50.56.174.223] executing command
[cloudpokerdb.com] executing command
** [50.56.174.223 :: out] fatal: destination path '/var/www/releases/20120926134941' already exists and is not an empty directory.
** [cloudpokerdb.com :: out] git@50.56.174.223's password:
Password:
** [cloudpokerdb.com :: out]
command finished in 8592ms
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/releases/20120926134941; true"
servers: ["50.56.174.223", "cloudpokerdb.com"]
[50.56.174.223] executing command
[cloudpokerdb.com] executing command
command finished in 2042ms
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'default' -c 'git clone -q ssh://git@50.56.174.223/home/git/cloud_poker_db_source/ /var/www/releases/20120926134941 && cd /var/www/releases/20120926134941 && git checkout -q -b deploy 09352c34c492c9838c8652861585dd3e75d7f232 && (echo 09352c34c492c9838c8652861585dd3e75d7f232 > /var/www/releases/20120926134941/REVISION)'" on 50.56.174.223
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment