From c3b6f2e9a2575ea5be0c49fb77ae051fe7981789 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 4 Feb 2026 16:32:55 +0900 Subject: Load `rubygems/platform.rb` after setting up the load path --- ext/extmk.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/extmk.rb b/ext/extmk.rb index 5025e0632c..f5244f72c8 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -8,8 +8,6 @@ module Gem RbConfig::CONFIG end end -# only needs Gem::Platform -require 'rubygems/platform' # :stopdoc: $extension = nil @@ -40,6 +38,9 @@ unless defined?(CROSS_COMPILING) and CROSS_COMPILING end require 'rbconfig' +# only needs Gem::Platform +require 'rubygems/platform' + $topdir = "." $top_srcdir = srcdir $extmk = true -- cgit v1.2.3