From: Miles Keaton Date: 2005-10-23T11:52:30+09:00 Subject: Re: Multiple apps - one database.yml? On 10/21/05, Rick wrote: > Is is possible to have multiple apps whose root directories are in the > same directory that can share a single database.yml file? Create separate directories for your separate Rails projects. Then (assuming you're keeping your projects in Subversion) use Subversions "externals" as described here: http://svnbook.red-bean.com/en/1.1/ch07s04.html cd /home/you/project2/ svn propset svn:externals "http://svn.yoursite.com/project1/trunk/models" models svn propset svn:externals "http://svn.yoursite.com/project1/trunk/config" config Now project2 will use the config and models from project1. We're doing this in a few different projects : 3 separate Rails projects, all sharing the same models and database-config. Any time you make changes to "project1", then next time you do an svn update on project2 it will update.