class Bundler::Source::SystemGems
def install(spec)
def install(spec) Bundler.ui.debug " * already installed; skipping" end
def specs
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
def to_s
def to_s "system gems" end