On Fri, Oct 15, 2010 at 11:09 AM, Todd Sedano <[email protected]>wrote:
> I don't check the config/database.yml file into source control. I create a > .gitignore or .svnignore so that it doesn't accidentally end up in the > repository. > > After I create the project on the build machine, I go to the > .cruise/projects/NAME/work directory and create my own config/database.yml > file > i'm a big fan of simple soltions that work, so that's exactly how I like to do it. On the premise that not every developer's box should contain access details to all of our umpteen production databases, anyway. Therefore, source-control config/database.yml.example and have it symlinked as database.yml on development machines. Symlink to a local file like /etc/myapplication/database.yml on prod and ci servers. Problem solved. -- Alexey Verkhovsky http://alex-verkhovsky.blogspot.com/ CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
_______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
