Skip to content

Commit 21d0ef0

Browse files
Merge pull request rails#48031 from zzak/av-ujs-rake-mkdir-log
Use FileUtils.mkdir_p for ujs log directory
2 parents c5a91a3 + 04b0aab commit 21d0ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionview/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace :test do
3939
listen_host = "localhost"
4040
listen_port = "4567"
4141

42-
Dir.mkdir("log")
42+
FileUtils.mkdir_p("log")
4343
pid = File.open("log/test.log", "w") do |f|
4444
spawn(*%W(rackup test/ujs/config.ru -o #{listen_host} -p #{listen_port} -s puma), out: f, err: f, pgroup: true)
4545
end

0 commit comments

Comments
 (0)