extmk.rb: define Gem.target_rbconfig not to break Gem::Platform.local
This commit is contained in:
parent
a3930db275
commit
7cbe54714c
@ -2,7 +2,13 @@
|
||||
# -*- mode: ruby; coding: us-ascii -*-
|
||||
# frozen_string_literal: false
|
||||
|
||||
module Gem; end # only needs Gem::Platform
|
||||
module Gem
|
||||
# Used by Gem::Platform.local
|
||||
def self.target_rbconfig
|
||||
RbConfig::CONFIG
|
||||
end
|
||||
end
|
||||
# only needs Gem::Platform
|
||||
require 'rubygems/platform'
|
||||
|
||||
# :stopdoc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user