diff options
author | tomoya ishida <[email protected]> | 2025-01-23 00:58:50 +0900 |
---|---|---|
committer | git <[email protected]> | 2025-01-22 15:58:56 +0000 |
commit | 8c4134a31e712a191187647ff94ac6cce51b9f66 (patch) | |
tree | d319054df0824762724f7b61bb3e41a0f7ce64f1 | |
parent | 8a9e3b575e21413843eeb5f1c13b362e82d135a4 (diff) |
[ruby/irb] Use EnvUtil.rubybin instead of "ruby" in copy command
test
(https://github.com/ruby/irb/pull/1071)
`ruby` is not always available.
https://github.com/ruby/irb/commit/f6c5106364
-rw-r--r-- | test/irb/command/test_copy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/command/test_copy.rb b/test/irb/command/test_copy.rb index 8ba62bd968..505812a1de 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 |