# Capistrano problem with mongrel\_cluster.yml

**URL:** <https://www.ruby-forum.com/t/capistrano-problem-with-mongrel-cluster-yml/184676>\
**Category:** Deployment\
**Created:** [March 6, 2010, 2:00pm UTC](https://www.ruby-forum.com/t/capistrano-problem-with-mongrel-cluster-yml/184676 "2010-03-06T14:00:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thegoatboy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/9fc348/32.png) [@thegoatboy](https://www.ruby-forum.com/u/thegoatboy)\
**Post date:** [March 6, 2010, 2:00pm UTC](https://www.ruby-forum.com/t/capistrano-problem-with-mongrel-cluster-yml/184676/1 "2010-03-06T14:00:05Z")

</div>

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-Deploying-Your-Rails-Application-on-HostingRails-com](http://www.hostingrails.com/Capistrano-2-x-Deploying-Your-Rails-Application-on-HostingRails-com)

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:

```auto
set :repository, "."
set :scm, :none
set :deploy_via, :copy

set :scm, :none
```

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
