From a52fc5df7ab7c5cf6a32dcbd2adfaf48a18d3947 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 19 Feb 2024 13:35:14 +0900 Subject: [PATCH] [rubygems/rubygems] Use FileUtils.mkdir_p https://github.com/rubygems/rubygems/commit/af806b8dff --- spec/bundler/support/builders.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index b6288b9463..46931e9ca5 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -421,7 +421,7 @@ module Spec build_path = @context.tmp + full_name bundler_path = build_path + "#{full_name}.gem" - Dir.mkdir build_path unless File.directory?(build_path) + FileUtils.mkdir_p build_path @context.shipped_files.each do |shipped_file| target_shipped_file = shipped_file