Using the compact index API instead of the deprecated API is the preferred and recommended long-term solution. To utilize the compact index API, follow these steps:
1. Make sure that the Gem and Bundler clients are running on the following versions (upgrade if needed):
a. Gem client: Version 3.2.3 or higher.
b. Bundler client: Version 1.12 or higher.
2. Enable compact indexing (disabled by default) in Artifactory by adding the following property to the artifactory.system.properties file:
artifactory.gems.compact.index.enabled=true
A Restart of Artifactory is required for the change to take effect.
Note: “Recalculate Index” is required for local and virtual Gem repositories after enabling compact indexing.