[rubygems/rubygems] Load RubyGems extensions in the first place

This is not currently causing any issues, but I think the most correct
thing to do is that Bundler loads the extensions to RubyGems in the
first place, so that they are available from the beginning.

88faa5c7bb
This commit is contained in:
David Rodríguez 2025-07-10 09:36:08 +02:00 committed by Hiroshi SHIBATA
parent 55baf026ac
commit 7dc284189a
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -1,5 +1,6 @@
# frozen_string_literal: true # frozen_string_literal: true
require_relative "bundler/rubygems_ext"
require_relative "bundler/vendored_fileutils" require_relative "bundler/vendored_fileutils"
require "pathname" require "pathname"
require "rbconfig" require "rbconfig"
@ -7,7 +8,6 @@ require "rbconfig"
require_relative "bundler/errors" require_relative "bundler/errors"
require_relative "bundler/environment_preserver" require_relative "bundler/environment_preserver"
require_relative "bundler/plugin" require_relative "bundler/plugin"
require_relative "bundler/rubygems_ext"
require_relative "bundler/rubygems_integration" require_relative "bundler/rubygems_integration"
require_relative "bundler/version" require_relative "bundler/version"
require_relative "bundler/current_ruby" require_relative "bundler/current_ruby"