This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
new(vertices)
public
Initializes a new
error with the given circular vertices. @param [Array] vertices the
vertices in the dependency
thatcausedtheerror
# File lib/bundler/vendor/molinillo/lib/molinillo/errors.rb, line 47
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