change rails version from 4.1.1 to 4.0