class Bundler::Source::Rubygems

def install(spec)

def install(spec)
  Bundler.ui.debug "  * Installing"
  installer = Gem::Installer.new gem_path(spec),
    :install_dir         => Gem.dir,
    :ignore_dependencies => true,
    :wrappers            => true,
    :env_shebang         => true,
    :bin_dir             => "#{Gem.dir}/bin"
  installer.install
  spec.loaded_from = "#{Gem.dir}/specifications/#{spec.full_name}.gemspec"
end