method

sorted

sorted()
private

No documentation available.

# File lib/bundler/spec_set.rb, line 137
    def sorted
      rake = @specs.find {|s| s.name == "rake" }
      begin
        @sorted ||= ([rake] + tsort).compact.uniq
      rescue TSort::Cyclic => error
        cgems = extract_circular_gems(error)
        raise CyclicDependencyError, "Your bundle requires gems that depend"            " on each other, creating an infinite loop. Please remove either"            " gem '#{cgems[1]}' or gem '#{cgems[0]}' and try again."
      end
    end