ensure_dependency

ensure_dependency(spec, dependency) Instance Public methods Ensure that the dependency is satisfied by the current installation of gem. If it is not an exception is raised. spec Gem::Specification dependency Gem::Dependency

ensure_dependencies_met

ensure_dependencies_met() Instance Public methods DOC: Missing docs or :nodoc:.

dir

dir() Instance Public methods Return the target directory where the gem is to be installed. This directory is not guaranteed to be populated.

check_that_user_bin_dir_is_in_path

check_that_user_bin_dir_is_in_path() Instance Public methods DOC: Missing docs or :nodoc:.

build_extensions

build_extensions() Instance Public methods Builds extensions. Valid types of extensions are extconf.rb files, configure scripts and rakefiles or mkrf_conf files.

app_script_text

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

new

new(gem, options={}) Class Public methods Constructs an Installer instance that will install the gem located at gem. options is a Hash with the following keys: :bin_dir Where to put a bin wrapper if needed. :development Whether or not development dependencies should be installed. :env_shebang Use /usr/bin/env in bin wrappers. :force Overrides all version checks and security policy checks, except for a signed-gems-only policy. :format_executable Format the executable

exec_format

exec_format() Class Public methods Defaults to use Ruby's program prefix and suffix.

update_specs_index

update_specs_index(index, source, dest) Instance Public methods Combines specs in index and source then writes out a new copy to dest. For a latest index, does not ensure the new file is minimal.

update_index

update_index() Instance Public methods Perform an in-place update of the repository from newly added gems.