Skip to content

Commit 04b0aab

Browse files
committed
Use FileUtils.mkdir_p for ujs log directory
1 parent ea7ac15 commit 04b0aab

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)