fixes rails version