79906cdf37 (master): [ruby/rubygems] Use Gem::CompactIndexClient in Bundler

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Aug 3, 2026, 10:35:19 PM (14 hours ago) Aug 3
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-08-03 01:39:14 +0000 (Mon, 03 Aug 2026)

New Revision: 79906cdf37

https://github.com/ruby/ruby/commit/79906cdf37

Log:
[ruby/rubygems] Use Gem::CompactIndexClient in Bundler

Switch Bundler's compact index fetcher and the outdated-version check
from Bundler::CompactIndexClient to the RubyGems client, wiring
Bundler's filesystem access helper into the new hook. Bundler keeps its
orchestration layer (parallel workers, FIPS detection, mirrors) and only
swaps the client underneath. The RubyGems updater raises
Gem::CompactIndexClient::Error for an invalid gzip response where
Bundler's raised HTTPError, so rescue it in compact_index_request to
preserve the fallback to the dependency API.

https://github.com/ruby/rubygems/commit/92e586be2f

Co-Authored-By: Claude Fable 5 <nor...@anthropic.com>

Modified files:
lib/bundler.rb
lib/bundler/cli.rb
lib/bundler/fetcher/compact_index.rb
spec/bundler/install/gems/compact_index_spec.rb
Reply all
Reply to author
Forward
0 new messages