summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorAnthony Panozzo <panozzaj@gmail.com>2026-01-01 19:21:42 -0500
committergit <svn-admin@ruby-lang.org>2026-02-12 17:06:36 +0000
commit2101c1bf091c30379daf96d4426a59e84002cccf (patch)
tree1ca4bb8e2e70a2cab45e3d973050a6f799867382 /test/ruby
parentfd9dd36dfc38fd818dba0558bacb7c2df9bcdb79 (diff)
[ruby/rubygems] Add global gem cache shared by RubyGems and Bundler
Add opt-in support for a global .gem file cache at ~/.cache/gem/gems (respects XDG_CACHE_HOME). This allows sharing cached gems across all Ruby installations and between RubyGems and Bundler. Enable via: - Environment: RUBYGEMS_GLOBAL_GEM_CACHE=true - gemrc: global_gem_cache: true - Bundler: bundle config set global_gem_cache true When enabled, RubyGems checks the global cache before downloading and copies downloaded gems to the cache. Bundler's existing global_gem_cache setting now uses the same unified cache location. https://github.com/ruby/rubygems/commit/417e10d6a1
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions