aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index be7d9f96a2..74615d2358 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -45,7 +45,12 @@ namespace :test do
# We could run these in parallel, but pretty much all of the
# railties tests already run in parallel, so ¯\_(⊙︿⊙)_/¯
- Process.waitpid fork { ARGV.clear; load file }
+ Process.waitpid fork {
+ ARGV.clear
+ Rake.application = nil
+
+ load file
+ }
unless $?.success?
failing_files << file