class Bundler::SystemGemSource

def self.instance

def self.instance
  @instance
end

def self.new(*args)

def self.new(*args)
  @instance ||= super
end

def ==(other)

def ==(other)
  other.is_a?(SystemGemSource)
end

def can_be_local?

def can_be_local?
  false
end

def download(spec)

def download(spec)
  gemfile = Pathname.new(spec.loaded_from)
  gemfile = gemfile.dirname.join('..', 'cache', "#{spec.full_name}.gem")
  bundle.cache(gemfile)
end

def gems

def gems
  @gems ||= process_source_gems(@source.gems)
end

def initialize(bundle, options = {})

def initialize(bundle, options = {})
  super
  @source = Gem::SourceIndex.from_installed_gems
end

def to_s

def to_s
  "system"
end