aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_uninstall_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_uninstall_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb
index cd440f63ee..c9feb31ccb 100644
--- a/test/rubygems/test_gem_commands_uninstall_command.rb
+++ b/test/rubygems/test_gem_commands_uninstall_command.rb
@@ -65,7 +65,10 @@ class TestGemCommandsUninstallCommand < GemInstallerTestCase
util_setup_gem
use_ui @ui do
+ tmp_rake = ENV['rake']
+ ENV['rake'] = @@rake
@installer.install
+ ENV['rake'] = tmp_rake
end
@cmd.options[:args] = ["pre"]