# Capistrano and multiple Dev environments?

**URL:** <https://www.ruby-forum.com/t/capistrano-and-multiple-dev-environments/57938>\
**Category:** Rails\
**Created:** [April 16, 2006, 6:26pm UTC](https://www.ruby-forum.com/t/capistrano-and-multiple-dev-environments/57938 "2006-04-16T18:26:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_on\_Rails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/df705f/32.png) [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Post date:** [April 16, 2006, 6:26pm UTC](https://www.ruby-forum.com/t/capistrano-and-multiple-dev-environments/57938/1 "2006-04-16T18:26:40Z")

</div>

I have working copies of code in development on multiple places - work  
machine, home machine, laptop, etc. I can’t always force these machines  
to  
use the same credentials; I end up with each machine having slightly  
different database.yml configurations.

With Subversion-Pre-Capistrano, I left the entire config directory out  
of  
Subversion (or some kind of template; see  
[http://subversion.tigris.org/faq.html#ignore-commit](http://subversion.tigris.org/faq.html#ignore-commit) ). But Capistrano  
deploys the config directory to the server, so this trick becomes less  
useful.

Is there a way around this?

---

<div class="post-metadata">

**Author:** ![Josh\_on\_Rails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/df705f/32.png) [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Post date:** [April 16, 2006, 6:45pm UTC](https://www.ruby-forum.com/t/capistrano-and-multiple-dev-environments/57938/2 "2006-04-16T18:45:12Z")

</div>

You can have more than the basic 3 environments that  
the config system represents by default.

So, you can have dev1, dev2, etc.

That way you can keep config/ under control.

–  
– Tom M.

---

<div class="post-metadata">

**Author:** ![Josh\_on\_Rails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/df705f/32.png) [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Post date:** [April 16, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/capistrano-and-multiple-dev-environments/57938/3 "2006-04-16T18:57:35Z")

</div>

Perfect! Danke!

– Joshua
