add ruby under platform of gem lock file