Remove unnecessary cached gems