to_spec

to_spec() Instance Public methods DOC: this method needs either documented or :nodoc'd

to_specs

to_specs() Instance Public methods DOC: this method needs either documented or :nodoc'd

type

type() Instance Public methods Dependency type.

new

new(options = {}) Class Public methods Creates a new installer instance. Options are: :cache_dir Alternate repository path to store .gem files in. :domain :local, :remote, or :both. :local only searches gems in the current directory. :remote searches only gems in Gem.sources. :both searches both. :env_shebang See Gem::Installer.new. :force See Gem::Installer#install. :format_executable See Gem::Installer#initialize. :ignore_dependencies Don't install any dependen

add_found_dependencies

add_found_dependencies(to_do, dependency_list) Instance Public methods

consider_local?

consider_local?() Instance Public methods Indicated, based on the requested domain, if local gems should be considered.

consider_remote?

consider_remote?() Instance Public methods Indicated, based on the requested domain, if remote gems should be considered.

find_gems_with_sources

find_gems_with_sources(dep) Instance Public methods Returns a list of pairs of gemspecs and source_uris that match Gem::Dependency dep from both local (Dir.pwd) and remote (Gem.sources) sources. Gems are sorted with newer gems preferred over older gems, and local gems preferred over remote gems.

find_spec_by_name_and_version

find_spec_by_name_and_version(gem_name, version = Gem::Requirement.default, prerelease = false) Instance Public methods Finds a spec and the source_uri it came from for gem gem_name and version. Returns an Array of specs and sources required for installation of the gem.

gather_dependencies

gather_dependencies() Instance Public methods Gathers all dependencies necessary for the installation from local and remote sources unless the ignore_dependencies was given.