Skip to content
Browse files

Lookup ruby bin name too

  • Loading branch information...
1 parent c5a6de5 commit 181cd109d9812d371e2d554a4846f0b2b25b1690 @josh josh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/isolation_test.rb
View
2 activesupport/test/isolation_test.rb
@@ -78,7 +78,7 @@ class ParentIsolationTest < ActiveSupport::TestCase
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

0 comments on commit 181cd10

Please sign in to comment.
Something went wrong with that request. Please try again.