aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/rubygems_plugin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/rubygems_plugin.rb')
-rw-r--r--test/rubygems/rubygems_plugin.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rubygems/rubygems_plugin.rb b/test/rubygems/rubygems_plugin.rb
index 0195a2139a..30a67789c6 100644
--- a/test/rubygems/rubygems_plugin.rb
+++ b/test/rubygems/rubygems_plugin.rb
@@ -6,6 +6,10 @@ require 'rubygems/command_manager'
#
# DO NOT include code like this in your rubygems_plugin.rb
+module Gem::Commands
+ remove_const(:InterruptCommand) if defined?(InterruptCommand)
+end
+
class Gem::Commands::InterruptCommand < Gem::Command
def initialize