Further contrain rails gem requirement

Ensure that the bundled version of rails is >= 3.2 and < 4.0