Fix Rails 2 support after config.ru reloading changes for TORQUE-819