diff --git a/Formula/swig.rb b/Formula/swig.rb index 1b7f7eb7e5..d36eb98471 100644 --- a/Formula/swig.rb +++ b/Formula/swig.rb @@ -40,6 +40,6 @@ class Swig < Formula system ENV.cc, "-c", "test.c" system ENV.cc, "-c", "test_wrap.c", "-I/System/Library/Frameworks/Ruby.framework/Headers/" system ENV.cc, "-bundle", "-undefined", "dynamic_lookup", "test.o", "test_wrap.o", "-o", "test.bundle" - assert_equal "2", shell_output("ruby run.rb").strip + assert_equal "2", shell_output("/usr/bin/ruby run.rb").strip end end