From 1d889c96562e9619d2cab443da711e82daeb983c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 21 May 2020 21:05:07 +0900 Subject: Sync Bundler PR #3624 with HEAD commits --- lib/bundler/rubygems_integration.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/bundler/rubygems_integration.rb') diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index 0ff3df9a08..b6f9384657 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -102,11 +102,6 @@ module Bundler end.flatten(1) end - def spec_extension_dir(spec) - return unless spec.respond_to?(:extension_dir) - spec.extension_dir - end - def stub_set_spec(stub, spec) stub.instance_variable_set(:@spec, spec) end @@ -223,11 +218,6 @@ module Bundler Gem.bin_path(gem, bin, ver) end - def preserve_paths - # this is a no-op outside of RubyGems 1.8 - yield - end - def loaded_gem_paths loaded_gem_paths = Gem.loaded_specs.map {|_, s| s.full_require_paths } loaded_gem_paths.flatten -- cgit v1.2.3