diff --git a/Formula/scala@2.10.rb b/Formula/scala@2.10.rb index 50f2fde5a8..4f545b674b 100644 --- a/Formula/scala@2.10.rb +++ b/Formula/scala@2.10.rb @@ -36,9 +36,7 @@ class ScalaAT210 < Formula } EOS - out = shell_output("#{bin}/scala #{file}").strip - # Shut down the compile server so as not to break Travis - system bin/"fsc", "-shutdown" + out = shell_output("#{bin}/scala -nc #{file}").strip assert_equal "4", out end diff --git a/Formula/scala@2.11.rb b/Formula/scala@2.11.rb index a7d7ce87f2..1017b37c43 100644 --- a/Formula/scala@2.11.rb +++ b/Formula/scala@2.11.rb @@ -36,9 +36,7 @@ class ScalaAT211 < Formula } EOS - out = shell_output("#{bin}/scala #{file}").strip - # Shut down the compile server so as not to break Travis - system bin/"fsc", "-shutdown" + out = shell_output("#{bin}/scala -nc #{file}").strip assert_equal "4", out end