Skip to content

Commit edf995c

Browse files
committed
Make test_sprocketize use the interpreter that runs it
1 parent 4dff018 commit edf995c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_sprocketize.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ def teardown
8585
def sprockets(*args)
8686
script = File.expand_path("../../bin/sprockets", __FILE__)
8787
lib = File.expand_path("../../lib", __FILE__)
88-
`ruby -I#{lib} #{script} #{Shellwords.join(args)} 2>&1`
88+
`#{RbConfig.ruby} -I#{lib} #{script} #{Shellwords.join(args)} 2>&1`
8989
end
9090
end

0 commit comments

Comments
 (0)