Skip to content

Commit

Permalink
PTY module is platform dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 19, 2022
1 parent ed9e435 commit dbb3dc7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/irb/test_debug_cmd.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# frozen_string_literal: true

require "pty" unless RUBY_ENGINE == 'truffleruby'
begin
require "pty"
rescue LoadError
return
end

require "tempfile"
require "tmpdir"
require "envutil"
Expand Down

0 comments on commit dbb3dc7

Please sign in to comment.