diff --git a/jruby/lib/io/console/common.rb b/jruby/lib/io/console/common.rb index c37db89..efa3015 100644 --- a/jruby/lib/io/console/common.rb +++ b/jruby/lib/io/console/common.rb @@ -1,5 +1,5 @@ # Methods common to all backend impls -require 'io/wait' +require 'io/wait' if RUBY_VERSION < '3.2' module IO::Console end