class Bundler::SystemGemSource
def self.instance
def self.instance @instance ||= new({}) 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") repository.cache(gemfile) end
def gems
def gems @gems ||= process_source_gems(@source.gems) end
def initialize(options)
def initialize(options) @source = Gem::SourceIndex.from_installed_gems end
def to_s
def to_s "system" end