1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suppress duplicated "require 'reline'"

This commit is contained in:
aycabta 2019-10-23 23:58:59 +09:00
parent 1d91feaf13
commit 039faecdb8

View file

@ -1,6 +1,6 @@
begin
require 'readline.so'
rescue LoadError
require 'reline'
require 'reline' unless defined? Reline
Readline = Reline
end