class Bundler::Source::Rubygems
def cached_path(spec)
def cached_path(spec) possibilities = @caches.map { |p| "#{p}/#{spec.file_name}" } possibilities.find { |p| File.exist?(p) } end
def cached_path(spec) possibilities = @caches.map { |p| "#{p}/#{spec.file_name}" } possibilities.find { |p| File.exist?(p) } end