Update gem related configuration.