Land #4851, fix rb-readline-r7 checker
commit
14b46161e3
|
@ -725,7 +725,7 @@ protected
|
|||
if opts['RealReadline']
|
||||
# Remove the gem version from load path to be sure we're getting the
|
||||
# stdlib readline.
|
||||
gem_dir = Gem::Specification.find_all_by_name('rb-readline').first.gem_dir
|
||||
gem_dir = Gem::Specification.find_all_by_name('rb-readline-r7').first.gem_dir
|
||||
rb_readline_path = File.join(gem_dir, "lib")
|
||||
index = $LOAD_PATH.index(rb_readline_path)
|
||||
# Bundler guarantees that the gem will be there, so it should be safe to
|
||||
|
|
Loading…
Reference in New Issue