Capistrano/SVN: Deploying different database.yml for live?


Today I’ve been working out how to begin using Capistrano and so far I’m
impressed. Even in my situation, learning Rails and deploying to a
single server, it’s incredibly helpful. I do have one small question

In using Subversion I’ve used the “ignore” feature to ignore my local
database.yml file, because my local database and my live one have
different names.

What should I do to accommodate this in Capistrano? When I use
Capistrano to deploy, the correct database.yml isn’t put into place
where it should be. I’m not sure where to begin to fix this situation.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs