summaryrefslogtreecommitdiff
path: root/spec/bundler/support/switch_rubygems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-15 21:31:12 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-22 20:32:30 +0900
commitc7ebeb7eda9f7f6bbb48effe1efc026eeb64d09c (patch)
treeb516b3b5119331d4d8431b4d17f552e2c8e798fe /spec/bundler/support/switch_rubygems.rb
parentf4f157fc81b940c0f76a01ee266a08e6bba69b6b (diff)
Sync Bundler PR #3624
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3114
Diffstat (limited to 'spec/bundler/support/switch_rubygems.rb')
-rw-r--r--spec/bundler/support/switch_rubygems.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/bundler/support/switch_rubygems.rb b/spec/bundler/support/switch_rubygems.rb
index d3dd685d31..a138d22333 100644
--- a/spec/bundler/support/switch_rubygems.rb
+++ b/spec/bundler/support/switch_rubygems.rb
@@ -2,13 +2,3 @@
require_relative "rubygems_version_manager"
RubygemsVersionManager.new(ENV["RGV"]).switch
-
-if ENV["BUNDLER_SPEC_IGNORE_DEFAULT_BUNDLER_GEM"]
- module NoBundlerStubs
- def default_stubs(pattern = "*.gemspec")
- super(pattern).reject {|s| s.name == "bundler" }
- end
- end
-
- Gem::Specification.singleton_class.prepend(NoBundlerStubs)
-end