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.

new

new(gem, options={}) Class Public methods Constructs an

2015-04-09 08:33:46
write_cache_file

write_cache_file() Instance Public methods Writes the .gem file to the cache

2015-04-09 10:38:50
gem_dir

gem_dir() Instance Public methods Lazy accessor for the spec's gem directory

2015-04-09 09:37:16
write_build_info_file

write_build_info_file() Instance Public methods Writes the file containing the

2015-04-09 10:31:22
ensure_required_ruby_version_met

ensure_required_ruby_version_met() Instance Public methods DOC: Missing docs

2015-04-09 09:14:49
shebang

shebang(bin_file_name) Instance Public methods Generates a #! line for

2015-04-09 10:08:12
check_that_user_bin_dir_is_in_path

check_that_user_bin_dir_is_in_path() Instance Public methods DOC: Missing docs

2015-04-09 08:52:32
generate_windows_script

generate_windows_script(filename, bindir) Instance Public methods Creates windows

2015-04-09 09:51:24
dir

dir() Instance Public methods Return the target directory where the gem is to

2015-04-09 08:57:14
spec

spec() Instance Public methods Lazy accessor for the installer's spec.

2015-04-09 10:10:13