Skip to content

Instantly share code, notes, and snippets.

@mojopon
Created November 13, 2012 08:41
Show Gist options
  • Save mojopon/4064693 to your computer and use it in GitHub Desktop.
Save mojopon/4064693 to your computer and use it in GitHub Desktop.
Linuxにデプロイしようとしてエラー
macmini:myapp tyamuro$ cap deploy
triggering load callbacks
* 2012-11-13 17:39:33 executing `staging'
triggering start callbacks for `deploy'
* 2012-11-13 17:39:33 executing `multistage:ensure'
* 2012-11-13 17:39:33 executing `deploy'
* 2012-11-13 17:39:33 executing `deploy:update'
** transaction: start
* 2012-11-13 17:39:33 executing `deploy:update_code'
executing locally: "git ls-remote git@github.com:tyamuro/myapp.git HEAD"
command finished in 5860ms
* executing "git clone -q git@github.com:tyamuro/myapp.git /home/tyamuro/ac_staging/releases/20121113083939 && cd /home/tyamuro/ac_staging/releases/20121113083939 && git checkout -q -b deploy 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 && (echo 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 > /home/tyamuro/ac_staging/releases/20121113083939/REVISION)"
servers: ["192.168.1.10"]
Password:
[192.168.1.10] executing command
** [192.168.1.10 :: err] fatal: could not create work tree dir '/home/tyamuro/ac_staging/releases/20121113083939'.: Permission denied
command finished in 421ms
*** [deploy:update_code] rolling back
* executing "rm -rf /home/tyamuro/ac_staging/releases/20121113083939; true"
servers: ["192.168.1.10"]
[192.168.1.10] executing command
command finished in 12ms
failed: "sh -c 'git clone -q git@github.com:tyamuro/myapp.git /home/tyamuro/ac_staging/releases/20121113083939 && cd /home/tyamuro/ac_staging/releases/20121113083939 && git checkout -q -b deploy 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 && (echo 53a1068d4f2a521c9d84d53fd7a756f99ce4eda1 > /home/tyamuro/ac_staging/releases/20121113083939/REVISION)'" on 192.168.1.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment