PATH:
opt
/
alt
/
ruby20
/
lib64
/
ruby
/
2.0.0
/
rubygems
# :stopdoc: #-- # This file contains all sorts of little compatibility hacks that we've # had to introduce over the years. Quarantining them into one file helps # us know when we can get rid of them. # # Ruby 1.9.x has introduced some things that are awkward, and we need to # support them, so we define some constants to use later. #++ module Gem # Only MRI 1.9.2 has the custom prelude. GEM_PRELUDE_SUCKAGE = RUBY_VERSION =~ /^1\.9\.2/ and RUBY_ENGINE == "ruby" end # Gem::QuickLoader exists in the gem prelude code in ruby 1.9.2 itself. # We gotta get rid of it if it's there, before we do anything else. if Gem::GEM_PRELUDE_SUCKAGE and defined?(Gem::QuickLoader) then Gem::QuickLoader.remove $LOADED_FEATURES.delete Gem::QuickLoader.path_to_full_rubygems_library if $LOADED_FEATURES.any? do |path| path.end_with? '/rubygems.rb' end then # TODO path does not exist here raise LoadError, "another rubygems is already loaded from #{path}" end class << Gem remove_method :try_activate if Gem.respond_to?(:try_activate, true) end end module Gem RubyGemsVersion = VERSION RbConfigPriorities = %w[ EXEEXT RUBY_SO_NAME arch bindir datadir libdir ruby_install_name ruby_version rubylibprefix sitedir sitelibdir vendordir vendorlibdir rubylibdir ] unless defined?(ConfigMap) ## # Configuration settings from ::RbConfig ConfigMap = Hash.new do |cm, key| cm[key] = RbConfig::CONFIG[key.to_s] end else RbConfigPriorities.each do |key| ConfigMap[key.to_sym] = RbConfig::CONFIG[key] end end RubyGemsPackageVersion = VERSION end
[-] dependency_installer.rb
[edit]
[-] exceptions.rb
[edit]
[-] command.rb
[edit]
[-] source.rb
[edit]
[-] specification.rb
[edit]
[-] path_support.rb
[edit]
[+]
commands
[-] rdoc.rb
[edit]
[-] syck_hack.rb
[edit]
[+]
ext
[-] compatibility.rb
[edit]
[-] version.rb
[edit]
[-] request_set.rb
[edit]
[-] remote_fetcher.rb
[edit]
[-] server.rb
[edit]
[-] version_option.rb
[edit]
[-] dependency_list.rb
[edit]
[-] dependency_resolver.rb
[edit]
[-] source_local.rb
[edit]
[-] config_file.rb
[edit]
[-] platform.rb
[edit]
[-] install_message.rb
[edit]
[-] gem_runner.rb
[edit]
[-] gemcutter_utilities.rb
[edit]
[-] installer.rb
[edit]
[-] available_set.rb
[edit]
[-] safe_yaml.rb
[edit]
[-] spec_fetcher.rb
[edit]
[-] validator.rb
[edit]
[-] command_manager.rb
[edit]
[-] name_tuple.rb
[edit]
[-] package_task.rb
[edit]
[-] source_list.rb
[edit]
[-] security.rb
[edit]
[+]
..
[-] ext.rb
[edit]
[-] local_remote_options.rb
[edit]
[-] psych_tree.rb
[edit]
[-] installer_test_case.rb
[edit]
[+]
ssl_certs
[-] psych_additions.rb
[edit]
[-] errors.rb
[edit]
[-] test_case.rb
[edit]
[-] install_update_options.rb
[edit]
[-] dependency.rb
[edit]
[-] user_interaction.rb
[edit]
[-] source_specific_file.rb
[edit]
[-] uninstaller.rb
[edit]
[-] package.rb
[edit]
[-] deprecate.rb
[edit]
[-] mock_gem_ui.rb
[edit]
[-] test_utilities.rb
[edit]
[+]
core_ext
[+]
package
[-] requirement.rb
[edit]
[-] doctor.rb
[edit]
[-] text.rb
[edit]
[-] defaults.rb
[edit]
[-] indexer.rb
[edit]
[+]
security