From a1e24ab4841b8032b274bfd49c30adfdeb82b859 Mon Sep 17 00:00:00 2001 From: Cody Cutrer Date: Wed, 11 Oct 2023 10:05:58 -0600 Subject: [PATCH] [rubygems/rubygems] avoid dependency on set it was a performance improvement only, but it causes failures in unrelated tests https://github.com/rubygems/rubygems/commit/b4149cb9bf --- lib/bundler/plugin.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb index fbbb5950f7..e3f698ec43 100644 --- a/lib/bundler/plugin.rb +++ b/lib/bundler/plugin.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require "set" - require_relative "plugin/api" module Bundler @@ -27,7 +25,7 @@ module Bundler @sources = {} @commands = {} @hooks_by_event = Hash.new {|h, k| h[k] = [] } - @loaded_plugin_names = Set.new + @loaded_plugin_names = [] end reset!