From fbc29ce032ef18887b935b48da1b94863ca407d9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 16 Feb 2024 18:16:15 +0900 Subject: Avoid to fail with race condition --- spec/bundler/support/builders.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/bundler/support/builders.rb') diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index 8727b9a0b6..b6288b9463 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 + Dir.mkdir build_path unless File.directory?(build_path) @context.shipped_files.each do |shipped_file| target_shipped_file = shipped_file -- cgit v1.2.3