Capistrano and multiple Dev environments?


I have working copies of code in development on multiple places - work
machine, home machine, laptop, etc. I can’t always force these machines
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
Subversion (or some kind of template; see ). But Capistrano
deploys the config directory to the server, so this trick becomes less

Is there a way around this?


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.


Perfect! Danke!

– Joshua