Add gem_cache_enabled flag