class Gem::TargetRbConfig

def self.from_path(rbconfig_path)

def self.from_path(rbconfig_path)
  namespace = Module.new do |m|
    # Load the rbconfig.rb file within a new anonymous module to avoid
    # conflicts with the rbconfig for the running platform.
    Kernel.load rbconfig_path, m
  end
  rbconfig = namespace.const_get(:RbConfig)
  new(rbconfig, rbconfig_path)
end