Raise an error if more than one gem name is specified.