summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-08-13 19:19:00 +0900
committeraycabta <aycabta@gmail.com>2020-08-18 14:38:01 +0900
commitb3f84b4a5b7c78339c28baa11f75ed4c121bd5ca (patch)
treeea197553cf6242d461836e4d34bbf4f0b6b3d6b7 /lib
parent7fa86de15b2a8aa85919f4aa76e86acbb9a43564 (diff)
[ruby/irb] Expand path to run separated test correctly
https://github.com/ruby/irb/commit/be2937abd5
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/input-method.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb
index d2c38c18b0..7cb211354b 100644
--- a/lib/irb/input-method.rb
+++ b/lib/irb/input-method.rb
@@ -326,7 +326,7 @@ module IRB
config = Reline::Config.new
str = "ReidlineInputMethod with Reline #{Reline::VERSION}"
if config.respond_to?(:inputrc_path)
- inputrc_path = config.inputrc_path
+ inputrc_path = File.expand_path(config.inputrc_path)
else
inputrc_path = File.expand_path(ENV['INPUTRC'] || '~/.inputrc')
end