From 181cd109d9812d371e2d554a4846f0b2b25b1690 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 14 Sep 2009 00:51:31 -0500 Subject: Lookup ruby bin name too --- activesupport/test/isolation_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/test/isolation_test.rb') diff --git a/activesupport/test/isolation_test.rb b/activesupport/test/isolation_test.rb index 7a79b4dc8f..20e11df1dd 100644 --- a/activesupport/test/isolation_test.rb +++ b/activesupport/test/isolation_test.rb @@ -78,7 +78,7 @@ else File.open(File.join(File.dirname(__FILE__), "fixtures", "isolation_test"), "w") {} ENV["CHILD"] = "1" - OUTPUT = `#{RbConfig::CONFIG["bindir"]}/ruby -I#{File.dirname(__FILE__)} "#{File.expand_path(__FILE__)}" -v` + OUTPUT = `#{RbConfig::CONFIG["bindir"]}/#{RbConfig::CONFIG["ruby_install_name"]} -I#{File.dirname(__FILE__)} "#{File.expand_path(__FILE__)}" -v` ENV.delete("CHILD") def setup -- cgit v1.2.3