Class: Gem::DependencyInstaller

Inherits:
Object
  • Object
show all
Defined in:
lib/bowline/dependencies/lib/ext/rubygems.rb

Instance Method Summary collapse

Instance Method Details

#find_gems_with_sources(dep) ⇒ Object



70
71
72
73
74
75
76
77
78
# File 'lib/bowline/dependencies/lib/ext/rubygems.rb', line 70

def find_gems_with_sources(dep)
  if @source_index.any? { |_, installed_spec|
    installed_spec.satisfies_requirement?(dep)
  }
    return []
  end

  old_fg(dep)
end

#old_fgObject



68
# File 'lib/bowline/dependencies/lib/ext/rubygems.rb', line 68

alias old_fg find_gems_with_sources