Type:
Class
Constants:
ENV_PATHS : %w[/usr/bin/env /bin/env]

Paths where env(1) might live. Some systems are broken and have it in /bin

CHDIR_MUTEX : Mutex.new # :nodoc:

The builder shells-out to run various commands after changing the directory. This means multiple installations cannot be allowed to build extensions in parallel as they may change each other's directories leading to broken extensions or failed installations.

The installer installs the files contained in the .gem into the Gem.home.

Gem::Installer does the work of putting files in all the right places on the filesystem including unpacking the gem into its gem dir, installing the gemspec in the specifications dir, storing the cached gem in the cache dir, and installing either wrappers or symlinks for executables.

The installer invokes pre and post install hooks. Hooks can be added either through a rubygems_plugin.rb file in an installed gem or via a rubygems/defaults/#{RUBY_ENGINE}.rb or rubygems/defaults/operating_system.rb file. See Gem.pre_install and Gem.post_install for details.

installation_satisfies_dependency?

installation_satisfies_dependency?(dependency) Instance Public methods True

2015-04-09 09:54:11
windows_stub_script

windows_stub_script(bindir, bin_file_name) Instance Public methods return the

2015-04-09 10:28:36
app_script_text

app_script_text(bin_file_name) Instance Public methods Return the text for an

2015-04-09 08:40:16
extension_build_error

extension_build_error(build_dir, output, backtrace = nil) Instance Public methods Logs

2015-04-09 09:23:42
verify_gem_home

verify_gem_home(unpack = false) Instance Public methods DOC: Missing docs or

2015-04-09 10:21:05
pre_install_checks

pre_install_checks() Instance Public methods Performs various checks before

2015-04-09 10:00:28
install

install() Instance Public methods Installs the gem and returns a loaded

2015-04-09 09:52:36
ensure_loadable_spec

ensure_loadable_spec() Instance Public methods Ensures the

2015-04-09 09:09:07
spec_file

spec_file() Instance Public methods The location of of the spec file that is

2015-04-09 10:16:01
write_build_info_file

write_build_info_file() Instance Public methods Writes the file containing the

2015-04-09 10:31:22