Fix rails version latest that supported by gems