Replace gems works.