Project

General

Profile

Actions

Bug #20584

closed

Multiple irbrc files loaded

Added by aosho235 (Aoyama Shotaro) 9 days ago. Updated 9 days ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [x86_64-linux]
[ruby-core:118343]

Description

Both ~/.irbrc and ./.irbrc are loaded on startup of irb.
Only the first found one should be loaded. 3.2.2 is so.

The path to the configuration file is the first found among:
https://docs.ruby-lang.org/en/3.3/IRB.html

$ ruby --version    
ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [x86_64-linux]

Updated by hsbt (Hiroshi SHIBATA) 9 days ago

  • Status changed from Open to Third Party's Issue

It seems the intentional changes.

see https://github.com/ruby/irb/pull/859

If you have any concerns, can you file it to irb repository?

Actions

Also available in: Atom PDF

Like0
Like0