Allowing any version of rails >= 3.1