# File lib/bundler/source.rb, line 86 def specs @specs ||= begin index = Index.new system_paths = Gem::SourceIndex.installed_spec_directories system_paths.reject!{|d| d == Bundler.specs_path.to_s } system_index = Gem::SourceIndex.from_gems_in(*system_paths) system_index.to_a.reverse.each do |name, spec| spec.source = self index << spec end index end end