Fix rails version and ruby version