Clint,

On Feb 20, 9:17 am, "ctro" <[EMAIL PROTECTED]> wrote:
> Is there a documented / recommended way to leave database.yml /
> mongrel_cluster.yml, etc files out of svn?

Put your database.yml in the shared/config directory (on the server)
as database.yml.production and in the :after_code_update task within
config/deploy.rb add:

  db_config = "#{shared_path}/config/database.yml.production"
  run "cp #{db_config} #{release_path}/config/database.yml"

I hope this helps.

Regards,
Keith


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to