Mongrel in development mode not reloading classes

Hi there,

Even though I am running Mongrel in development mode, I have to manually restart Mongrel to load any changes that I have made to controller or model code.

This is the output when I start Mongrel:

$ script/server start ./script/../config/boot.rb:29:Warning: require_gem is obsolete. Use gem instead. => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel 1.1.3 available at 0.0.0.0:3000 ** Use CTRL-C to stop.

Any ideas? I am on MAC OS 10.4.11

Thanks,

Andy

I forgot to mention that the following is in config/development.rb

config.cache_classes = false

Andy

SOLVED!

Sorry to reply to my own post, but I found the problem.

I had the following in the environment.rb

        require 'ragi/call_server'

I'm not sure why RAGI caused this behaviour, but at least I know what's causing it now!

Andy