remove unnecessary gems