# Rails codebase sharing

**URL:** <https://www.ruby-forum.com/t/rails-codebase-sharing/126690>\
**Category:** Ruby\
**Created:** [January 21, 2008, 12:30pm UTC](https://www.ruby-forum.com/t/rails-codebase-sharing/126690 "2008-01-21T12:30:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asmo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@asmo](https://www.ruby-forum.com/u/asmo)\
**Post date:** [January 21, 2008, 12:30pm UTC](https://www.ruby-forum.com/t/rails-codebase-sharing/126690/1 "2008-01-21T12:30:58Z")

</div>

Hi!

Currently any deployed app is automatically fed with database  
from config/database.yml. This mean that if I set up applications  
via FCGI I need to have a separate application deployment for each user.

Is it possible to share the same codebase and use different databases  
(maybe some other stuff too) for separate users?

Currently I link application’s public directory to some directory in  
users WWW directory.

Thanks,  
-Marcin
