Hello to all!

I am getting following error while running cap deploy in terminal.

$ cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    executing locally: "git ls-remote g...@github.com:megha55/mysite.git master"
    command finished in 4912ms
  * executing "git clone -q g...@github.com:megha55/mysite.git
/u/apps/mysite/releases/20121008150536 && cd
/u/apps/mysite/releases/20121008150536 && git checkout -q -b deploy
d8c68e8142039f19b36669692144825715bc129a && (echo
d8c68e8142039f19b36669692144825715bc129a >
/u/apps/mysite/releases/20121008150536/REVISION)"
    servers: ["simak"]
Password:
    [simak] executing command
 ** [simak :: out] fatal: could not create work tree dir
'/u/apps/mysite/releases/20121008150536'.: Permission denied
    command finished in 240ms
*** [deploy:update_code] rolling back
  * executing "rm -rf /u/apps/mysite/releases/20121008150536; true"
    servers: ["simak"]
    [simak] executing command
    command finished in 9ms
failed: "sh -c 'git clone -q g...@github.com:megha55/mysite.git
/u/apps/mysite/releases/20121008150536 && cd
/u/apps/mysite/releases/20121008150536 && git checkout -q -b deploy
d8c68e8142039f19b36669692144825715bc129a && (echo
d8c68e8142039f19b36669692144825715bc129a >
/u/apps/mysite/releases/20121008150536/REVISION)'" on simak

I also gave permissions to this application but still having same error.
Please help me to solve this error.


-- 
Mandeep Kaur
http://mandeepsimak.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to