class Bundler::RubygemsIntegration

def replace_entrypoints(specs)

of the world.
Replace or hook into RubyGems to provide a bundlerized view
def replace_entrypoints(specs)
  specs_by_name = add_default_gems_to(specs)
  replace_gem(specs, specs_by_name)
  stub_rubygems(specs)
  replace_bin_path(specs_by_name)
  Gem.clear_paths
end