class Bundler::Molinillo::CircularDependencyError
existing {DependencyGraph::Vertex}
{DependencyGraph} that has a {DependencyGraph::Vertex#path_to?} an
@note This exception will be thrown if and only if a {Vertex} is added to a
An error caused by attempting to fulfil a dependency that was circular
def initialize(vertices)
-
vertices
(Array
) -- the vertices in the dependency
def initialize(vertices) super "There is a circular dependency between #{vertices.map(&:name).join(' and ')}" @dependencies = vertices.map { |vertex| vertex.payload.possibilities.last }.to_set end