Hi all,

Im using Git, Capistrano to deploy my Rails app to Slicehost. Im
battered and bruised !
I have Git 1.6.0.1 on my dev machine and 1.5.6.3 on the server.
This being my first deploy, when i try cap deploy:cold, this is the
output I get

...
executing locally: "git ls-remote [email protected]:vinaysesh/
ahref.in.git HEAD"
  * executing "if [ -d /home/vinay/public_html/ahref.in/shared/cached-
copy ]; then cd /home/vinay/public_html/ahref.in/shared/cached-copy &&
git fetch  origin && git reset  --hard
28114ba3ef91ea7cfd884a0e17fe431b08934c20; else git clone
[email protected]:vinaysesh/ahref.in.git /home/vinay/public_html/ahref.in/
shared/cached-copy && cd /home/vinay/public_html/ahref.in/shared/
cached-copy && git checkout  -b deploy
28114ba3ef91ea7cfd884a0e17fe431b08934c20; fi"
    servers: ["ahref.in"]
    [ahref.in] executing command
 ** [ahref.in :: out] fatal: could not create work tree dir '/home/
vinay/public_html/ahref.in/shared/cached-copy'.
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/vinay/public_html/ahref.in/releases/
20090211100150; true"
    servers: ["ahref.in"]
    [ahref.in] executing command
    command finished
failed: "sh -c \"if [ -d /home/vinay/public_html/ahref.in/shared/
cached-copy ]; then cd /home/vinay/public_html/ahref.in/shared/cached-
copy && git fetch  origin && git reset  --hard
28114ba3ef91ea7cfd884a0e17fe431b08934c20; else git clone
[email protected]:vinaysesh/ahref.in.git /home/vinay/public_html/ahref.in/
shared/cached-copy && cd /home/vinay/public_html/ahref.in/shared/
cached-copy && git checkout  -b deploy
28114ba3ef91ea7cfd884a0e17fe431b08934c20; fi\"" on ahref.in

Ive spent the whole day trying to deploy to Slicehost using Git and
Cap. From what im reading, it should be FAR less trouble than what im
going through! What am I doing wrong?? <b>help!</b>


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to