class Gem::Source::Local
def download(spec, cache_dir=nil)
def download(spec, cache_dir=nil) load_specs :complete @specs.each do |name, data| return data[0] if data[1].spec == spec end raise Gem::Exception, "Unable to find file for '#{spec.full_name}'" end