From 968499c7405576b50040c78c2f65f4540c5f10b7 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Fri, 21 Jul 2017 07:35:26 +0900 Subject: [PATCH] Remove log directory in test postprocessing The "log" is directory. So it is necessary to use `FileUtils.rm_rf`. --- actionview/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionview/Rakefile b/actionview/Rakefile index 0fc38e8db4..2328e82d05 100644 --- a/actionview/Rakefile +++ b/actionview/Rakefile @@ -47,7 +47,7 @@ namespace :test do status = $?.to_i ensure Process.kill("KILL", pid) if pid - FileUtils.rm_f("log") + FileUtils.rm_rf("log") end exit status