Hello there I am having a little trouble with capistrano. I have a rails app, which is running on my hosting server. it was set up originally using this tutorial: http://www.hostingrails.com/Capistrano-2-x-Deployi... Its all been uploaded using capistrano all fine. my problem is trying to update locally then upload to the server. I have made some changes to the site and I am trying to run cap deploy (which i think is the right command). The cap file config is set up to copy from local: [code] set :repository, "." set :scm, :none set :deploy_via, :copy set :scm, :none [/code] when i run cap deploy, it does all the upload to the server as expected, but always ends with an error - * executing `deploy:restart' * executing "ln -s /Library/Rails/****/shared/config/mongrel_cluster.yml /Library/Rails/****/current/config/mongrel_cluster.yml" servers: ["**.**.**.**"] [**.**.**.**] executing command *** [err :: **.**.**.**] ln: *** [err :: **.**.**.**] creating symbolic link `/Library/Rails/****/current/config/mongrel_cluster.yml' *** [err :: **.**.**.**] : File exists *** [err :: **.**.**.**] command finished failed: "sh -c 'ln -s /Library/Rails/****/shared/config/mongrel_cluster.yml /Library/Rails/****/current/config/mongrel_cluster.yml'" on **.**.**.** I have tried all kinds of shennanigans on the server to get it to work, but to no avail (i.e. moving the file etc) Anyone have any ideas as to what i can do to fix this? I can add more code if needed to show you my config files etc any tips are most welcome
on 2010-03-06 14:00
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.