class Bundler::Source::BundlerGems
def specs
def specs @specs ||= begin index = Index.new bundle_index = Gem::SourceIndex.from_gems_in(Bundler.specs_path) bundle_index.to_a.reverse.each do |name, spec| spec.source = self index << spec end index end end