From 7dc284189a36b08e0eb8dcc2f5c7bdd3797b1394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 10 Jul 2025 09:36:08 +0200 Subject: [PATCH] [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. https://github.com/rubygems/rubygems/commit/88faa5c7bb --- lib/bundler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler.rb b/lib/bundler.rb index d3219fe46e..761679ec8d 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require_relative "bundler/rubygems_ext" require_relative "bundler/vendored_fileutils" require "pathname" require "rbconfig" @@ -7,7 +8,6 @@ require "rbconfig" require_relative "bundler/errors" require_relative "bundler/environment_preserver" require_relative "bundler/plugin" -require_relative "bundler/rubygems_ext" require_relative "bundler/rubygems_integration" require_relative "bundler/version" require_relative "bundler/current_ruby"