We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106c31f commit 1df99d1Copy full SHA for 1df99d1
test/readline/helper.rb
@@ -9,8 +9,10 @@ def use_ext_readline # Use ext/readline as Readline
9
Object.const_set(:Readline, ReadlineSo)
10
end
11
12
-unless ENV['DONT_RUN_RELINE_TEST']
+begin
13
require "reline"
14
+rescue LoadError
15
+else
16
def use_lib_reline # Use lib/reline as Readline
17
Reline.send(:remove_const, 'IOGate') if Reline.const_defined?('IOGate')
18
Reline.const_set('IOGate', Reline::GeneralIO)
0 commit comments