From: Dick Davies Date: 2005-06-25T22:51:36+09:00 Subject: Re: FastCGI: handling the caching of ruby scripts. * Brian Candler [0629 10:29]: > On Fri, Jun 24, 2005 at 10:25:06PM +0900, Jonas Hartmann wrote: > > I cannot make the last example on this Page: > > http://rubygarden.org/ruby/ruby?FCGIRubyWhyArentMyChangesDisplayed > > working yet... > > Which one - the "FastCgiConfig -autoUpdate" or the Thread.new ? > > Both will only work if the main application file itself has updated, not any You could check out the require_dependency function in Rails, it handles this fairly elegantly. -- 'Bus drivers. Pretend you're an airline pilot by wedging your accelerator pedal down with a heavy book, securing the steering wheel with some old rope, and then strolling back along the bus chatting casually to the passengers.' -- Top Tips Rasputin :: Jack of All Trades - Master of Nuns