Given a set of Gem::Dependency objects as needed and a way to query the set of available specs via set, calculates a set of ActivationRequest objects which indicate all the specs that should be activated to meet the all the requirements.

Constants

If the DEBUG_RESOLVER environment variable is set then debugging mode is enabled for the resolver. This will display information about the state of the resolver while a set of dependencies is being resolved.

No documentation available
Attributes
Read & Write

Set to true if all development dependencies should be considered.

Read & Write

Set to true if immediate development dependencies should be considered.

Read & Write

When true, no dependencies are looked up for requested gems.

Read

List of dependencies that could not be found in the configured sources.

Read
No documentation available
Read & Write

Hash of gems to skip resolution. Keyed by gem name, with arrays of gem specifications as values.

Read & Write

When a missing dependency, don’t stop. Just go on and record what was missing.

Class Methods

Combines sets into a ComposedSet that allows specification lookup in a uniform manner. If one of the sets is itself a ComposedSet its sets are flattened into the result ComposedSet.

Creates a Resolver that queries only against the already installed gems for the needed dependencies.

Create Resolver object which will resolve the tree starting with needed Dependency objects.

set is an object that provides where to look for specifications to satisfy the Dependencies. This defaults to IndexSet, which will query rubygems.org.

Instance Methods
No documentation available

returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining

dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Proceed with resolution! Returns an array of ActivationRequest objects.

No documentation available
No documentation available