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:
parent
1d91feaf13
commit
039faecdb8
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
begin
|
||||
require 'readline.so'
|
||||
rescue LoadError
|
||||
require 'reline'
|
||||
require 'reline' unless defined? Reline
|
||||
Readline = Reline
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue