mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Expand path to run separated test correctly
https://github.com/ruby/irb/commit/be2937abd5
This commit is contained in:
parent
7fa86de15b
commit
b3f84b4a5b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue