Skip to content

Instantly share code, notes, and snippets.

@mojopon
Created November 12, 2012 08:16
Show Gist options
  • Save mojopon/4058115 to your computer and use it in GitHub Desktop.
Save mojopon/4058115 to your computer and use it in GitHub Desktop.
ローカルホストにデプロイしようとしたときエラー
macmini:myapp tyamuro$ cap deploy
triggering load callbacks
* 2012-11-12 17:13:57 executing `staging'
triggering start callbacks for `deploy'
* 2012-11-12 17:13:57 executing `multistage:ensure'
* 2012-11-12 17:13:57 executing `deploy'
* 2012-11-12 17:13:57 executing `deploy:update'
** transaction: start
* 2012-11-12 17:13:57 executing `deploy:update_code'
executing locally: "git ls-remote git@github.com:tyamuro/myapp.git HEAD"
Enter passphrase for key '/Users/tyamuro/.ssh/id_rsa':
command finished in 12603ms
* executing "git clone -q git@github.com:tyamuro/myapp.git /Users/tyamuro/ac_staging/releases/20121112081409 && cd /Users/tyamuro/ac_staging/releases/20121112081409 && git checkout -q -b deploy 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 && (echo 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 > /Users/tyamuro/ac_staging/releases/20121112081409/REVISION)"
servers: ["localhost"]
Password:
[localhost] executing command
** [localhost :: err] Permission denied (publickey).
** [localhost :: err] fatal: The remote end hung up unexpectedly
command finished in 3395ms
*** [deploy:update_code] rolling back
* executing "rm -rf /Users/tyamuro/ac_staging/releases/20121112081409; true"
servers: ["localhost"]
[localhost] executing command
command finished in 57ms
failed: "sh -c 'git clone -q git@github.com:tyamuro/myapp.git /Users/tyamuro/ac_staging/releases/20121112081409 && cd /Users/tyamuro/ac_staging/releases/20121112081409 && git checkout -q -b deploy 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 && (echo 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 > /Users/tyamuro/ac_staging/releases/20121112081409/REVISION)'" on localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment