class Bundler::Repository

def do_install(bundle, options)

def do_install(bundle, options)
  bundle.each do |spec|
    next if options[:no_bundle].include?(spec.name)
    spec.loaded_from = @path.join("specifications", "#{spec.full_name}.gemspec")
    # Do nothing if the gem is already expanded
    next if @path.join("gems", spec.full_name).directory?
    case spec.source
    when GemSource, GemDirectorySource, SystemGemSource
      expand_gemfile(spec, options)
    else
      expand_vendored_gem(spec, options)
    end
  end
end