From 1a222816fbe65e49f5f395dfd4a307763c00f012 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 12 Mar 2025 17:00:10 +0900 Subject: [PATCH] Restore to use rm_rf for failing example https://github.com/ruby/ruby/actions/runs/13804651931/job/38616664529?pr=12911 --- spec/bundler/install/global_cache_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/install/global_cache_spec.rb b/spec/bundler/install/global_cache_spec.rb index 130c841ce9..6893038cb7 100644 --- a/spec/bundler/install/global_cache_spec.rb +++ b/spec/bundler/install/global_cache_spec.rb @@ -275,7 +275,7 @@ RSpec.describe "global gem caching" do R expect(out).to eq "VERY_SIMPLE_BINARY_IN_C\nVERY_SIMPLE_GIT_BINARY_IN_C" - FileUtils.rm_r Dir[home(".bundle", "cache", "extensions", "**", "*binary_c*")] + FileUtils.rm_rf Dir[home(".bundle", "cache", "extensions", "**", "*binary_c*")] gem_binary_cache.join("very_simple_binary_c.rb").open("w") {|f| f << "puts File.basename(__FILE__)" } git_binary_cache.join("very_simple_git_binary_c.rb").open("w") {|f| f << "puts File.basename(__FILE__)" }