Fix rails version syntax