Require the engine if Rails is detected.