Fixed rails version for >= 4.1.x