summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-02-19 13:35:14 +0900
committergit <svn-admin@ruby-lang.org>2024-02-19 05:45:51 +0000
commita52fc5df7ab7c5cf6a32dcbd2adfaf48a18d3947 (patch)
tree1305c7244a454162929da78bffbb7123fba9b592 /spec
parentcb9e0a45372d56a434fb5af4f8573815d55af34b (diff)
[rubygems/rubygems] Use FileUtils.mkdir_p
https://github.com/rubygems/rubygems/commit/af806b8dff
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/support/builders.rb2
1 files changed, 1 insertions, 1 deletions
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