Hi, I am getting the following error on deployment of a rails app:
fatal: could not create work tree dir '/path/to/rails/app/dir/shared/cached-copy'.: File exists I hadn't done anything on the server for a few months, and when I recently came back to it, I had a problem with cap finding git. I have fixed that from the docs with :scm_command and :local_scm_command. Then when I tried to deploy, I was getting errors regarding release versions, so I decided to remove all repos and start afresh. I removed the repo on the server that I push to with git, and initialised a new bare repo, removed by local .git folder, and init'd it with a new initial commit. I then went to the server and removed the current, releases and shared folders that cap uses. I have now run deploy:check and everything is fine. deploy:setup has created the folders on the server. When I run deploy:update_code I get the error above. Can anyone help, or point me in the right direction to some reading material regarding this error? Many thanks Paul ps, I have googled all morning without success, and only post questions to groups when I feel I have nowhere else to turn. -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
