diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-14 00:51:31 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-14 00:51:31 -0500 |
commit | 181cd109d9812d371e2d554a4846f0b2b25b1690 (patch) | |
tree | 920f9717a2a4206da95b2c38b566e4fea566bc3c /activesupport/test | |
parent | c5a6de50bbc265ae53656396c02432cb91034977 (diff) | |
download | rails-181cd109d9812d371e2d554a4846f0b2b25b1690.tar.gz rails-181cd109d9812d371e2d554a4846f0b2b25b1690.tar.bz2 rails-181cd109d9812d371e2d554a4846f0b2b25b1690.zip |
Lookup ruby bin name too
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/isolation_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |