Forum: Ruby on Rails Apache/FCGI Rails - is apache restart required on DB change?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cameron B. (Guest)
on 2006-03-28 05:55
Hi all,

wondering when I need to restart apache. I'm setting up a rails system
for the first time, and it seems to be caching my database
configuration, unless I restart apache.

Is there any way out of this? Is there a way to do this without
restarting apache?

Thanks in advance!

Cameron
Dorian M. (Guest)
on 2006-03-28 06:00
(Received via mailing list)
I *think* your environment and db details are cached even in dev mode,
so you would either need to restart apache or at least kill all the
dispatch.fcgi processes.

There are some good pointers here:
http://weblog.textdrive.com/article/175/rails-opti...

...pointers that I would have done well to have read before the last 2
months on my project :)

dorian
Cameron B. (Guest)
on 2006-03-28 07:04
Dorian, thanks very much. Good to know, and the article's a great help.
This topic is locked and can not be replied to.