unpack

unpack(directory) Instance Public methods Unpacks the gem into the given directory.

spec_file

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

spec

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

shebang

shebang(bin_file_name) Instance Public methods Generates a #! line for bin_file_name's wrapper copying arguments if necessary. If the :custom_shebang config is set, then it is used as a template for how to create the shebang used for to run a gem's executables. The template supports 4 expansions: $env the path to the unix env utility $ruby the path to the currently running ruby interpreter $exec the path to the gem's executable $name the name of the gem the executable is f

process_options

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

pre_install_checks

pre_install_checks() Instance Public methods Performs various checks before installing the gem such as the install repository is writable and its directories exist, required ruby and rubygems versions are met and that dependencies are installed. Version and dependency checks are skipped if this install is forced. The dependent check will be skipped this install is ignoring dependencies.

installed_specs

installed_specs() Instance Public methods Return an Array of Specifications contained within the #gem_home we'll be installing into.

installation_satisfies_dependency?

installation_satisfies_dependency?(dependency) Instance Public methods True if the gems in the system satisfy dependency.

install

install() Instance Public methods Installs the gem and returns a loaded Gem::Specification for the installed gem. The gem will be installed with the following structure: @gem_home/ cache/<gem-version>.gem #=> a cached copy of the installed gem gems/<gem-version>/... #=> extracted files specifications/<gem-version>.gemspec #=> the Gem::Specification

generate_windows_script

generate_windows_script(filename, bindir) Instance Public methods Creates windows .bat files for easy running of commands