Skip to content

Commit c3b6f2e

Browse files
committed
Load rubygems/platform.rb after setting up the load path
1 parent 444a360 commit c3b6f2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/extmk.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ def self.target_rbconfig
88
RbConfig::CONFIG
99
end
1010
end
11-
# only needs Gem::Platform
12-
require 'rubygems/platform'
1311

1412
# :stopdoc:
1513
$extension = nil
@@ -40,6 +38,9 @@ def self.target_rbconfig
4038
end
4139
require 'rbconfig'
4240

41+
# only needs Gem::Platform
42+
require 'rubygems/platform'
43+
4344
$topdir = "."
4445
$top_srcdir = srcdir
4546
$extmk = true

0 commit comments

Comments
 (0)