Skip to content

Commit

Permalink
Use EnvUtil.rubybin instead of "ruby" in copy command test
Browse files Browse the repository at this point in the history
`ruby` is not always available.
  • Loading branch information
tompng committed Jan 22, 2025
1 parent df37b07 commit f09d4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/irb/command/test_copy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f09d4f5

Please sign in to comment.