Flowdock
method

search_for

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: Resolver
search_for(dependency) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/resolver.rb, line 225
  def search_for(dependency)
    possibles, all = find_possible(dependency)
    if !@soft_missing && possibles.empty?
      @missing << dependency
      exc = Gem::UnsatisfiableDependencyError.new dependency, all
      exc.errors = @set.errors
      raise exc
    end
    possibles.sort_by { |s| [s.source, s.version, Gem::Platform.local =~ s.platform ? 1 : 0] }.
      map { |s| ActivationRequest.new s, dependency, [] }
  end
Register or log in to add new notes.