summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-22 11:14:05 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-25 21:09:11 +0100
commitb9ad218b2ebde6ccd2189d80fde6428361377db0 (patch)
tree638fbc607c5384350f95973a5a7bfb306e802687 /lib
parent289014761b510192863bfd9fc0fadac69819b456 (diff)
downloadbundler-b9ad218b2ebde6ccd2189d80fde6428361377db0.tar.gz
Remove rubygems compatibility guardremove_unnecessary_rubygems_filters
Bundler 2 can't be installed on these rubygems, so it's not necessary.
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/compatibility_guard.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bundler/compatibility_guard.rb b/lib/bundler/compatibility_guard.rb
index 750a1db04f..3505d729fc 100644
--- a/lib/bundler/compatibility_guard.rb
+++ b/lib/bundler/compatibility_guard.rb
@@ -7,8 +7,4 @@ if Bundler::VERSION.split(".").first.to_i >= 2
if Gem::Version.new(Object::RUBY_VERSION.dup) < Gem::Version.new("2.3")
abort "Bundler 2 requires Ruby 2.3 or later. Either install bundler 1 or update to a supported Ruby version."
end
-
- if Gem::Version.new(Gem::VERSION.dup) < Gem::Version.new("2.5")
- abort "Bundler 2 requires RubyGems 2.5 or later. Either install bundler 1 or update to a supported RubyGems version."
- end
end