summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index b9bc72a1f3..23ea69ae0b 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -467,7 +467,7 @@ class Gem::TestCase < Test::Unit::TestCase
# FileUtils.rm_rf randomly fails on ci.rvm.jp trunk-mjit
if ENV['RUBY_DEBUG']&.include?('ci')
- system('rm', '-rf', @tempdir.shellescape, exception: true)
+ system('rm', '-rf', @tempdir)
else
FileUtils.rm_rf @tempdir
end