From f09d4f5c394efad25b93ce100f48e4669f307771 Mon Sep 17 00:00:00 2001 From: tompng Date: Thu, 23 Jan 2025 00:35:34 +0900 Subject: [PATCH] Use EnvUtil.rubybin instead of "ruby" in copy command test `ruby` is not always available. --- test/irb/command/test_copy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/irb/command/test_copy.rb b/test/irb/command/test_copy.rb index 8ba62bd96..505812a1d 100644 --- a/test/irb/command/test_copy.rb +++ b/test/irb/command/test_copy.rb @@ -8,7 +8,7 @@ module TestIRB class CopyTest < IntegrationTestCase def setup super - @envs['IRB_COPY_COMMAND'] = "ruby -e \"puts 'foo' + STDIN.read\"" + @envs['IRB_COPY_COMMAND'] = "#{EnvUtil.rubybin} -e \"puts 'foo' + STDIN.read\"" end def test_copy_with_pbcopy