summaryrefslogtreecommitdiff
path: root/spec/bundler/support/switch_rubygems.rb
diff options
context:
space:
mode:
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