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 ). But Capistrano deploys the config directory to the server, so this trick becomes less useful. Is there a way around this? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060416/24fbd12f/attachment.html
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 Mornini On Apr 16, 2006, at 9:23 AM, Josh on Rails wrote:> 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 ). But Capistrano > deploys the config directory to the server, so this trick becomes > less useful. > > Is there a way around this? > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Perfect! Danke! -- Joshua On 4/16/06, Tom Mornini <tmornini@infomania.com> wrote:> > 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 Mornini > > > On Apr 16, 2006, at 9:23 AM, Josh on Rails wrote: > > > 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 ). But Capistrano > > deploys the config directory to the server, so this trick becomes > > less useful. > > > > Is there a way around this? > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060416/4509c9cc/attachment.html