PATH:
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
site_ruby
/
1.8
/
rubygems
class Gem::ErrorReason; end # Generated when trying to lookup a gem to indicate that the gem # was found, but that it isn't usable on the current platform. # # fetch and install read these and report them to the user to aid # in figuring out why a gem couldn't be installed. # class Gem::PlatformMismatch < Gem::ErrorReason attr_reader :name attr_reader :version attr_reader :platforms def initialize(name, version) @name = name @version = version @platforms = [] end def add_platform(platform) @platforms << platform end def wordy prefix = "Found #{@name} (#{@version})" if @platforms.size == 1 "#{prefix}, but was for platform #{@platforms[0]}" else "#{prefix}, but was for platforms #{@platforms.join(' ,')}" end end end
[-] gem_openssl.rb
[edit]
[-] dependency_installer.rb
[edit]
[-] exceptions.rb
[edit]
[-] command.rb
[edit]
[-] specification.rb
[edit]
[-] path_support.rb
[edit]
[+]
commands
[-] syck_hack.rb
[edit]
[+]
ext
[-] builder.rb
[edit]
[-] version.rb
[edit]
[-] remote_fetcher.rb
[edit]
[-] server.rb
[edit]
[-] version_option.rb
[edit]
[-] dependency_list.rb
[edit]
[-] config_file.rb
[edit]
[-] platform.rb
[edit]
[-] gem_runner.rb
[edit]
[-] gemcutter_utilities.rb
[edit]
[-] installer.rb
[edit]
[-] doc_manager.rb
[edit]
[-] spec_fetcher.rb
[edit]
[-] validator.rb
[edit]
[-] source_index.rb
[edit]
[-] command_manager.rb
[edit]
[-] package_task.rb
[edit]
[-] security.rb
[edit]
[+]
..
[-] gem_path_searcher.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]
[-] uninstaller.rb
[edit]
[-] package.rb
[edit]
[-] require_paths_builder.rb
[edit]
[-] deprecate.rb
[edit]
[-] mock_gem_ui.rb
[edit]
[-] test_utilities.rb
[edit]
[+]
package
[-] requirement.rb
[edit]
[-] custom_require.rb
[edit]
[-] old_format.rb
[edit]
[-] text.rb
[edit]
[-] defaults.rb
[edit]
[-] indexer.rb
[edit]
[-] format.rb
[edit]