[ruby-core:118343] [Ruby master Bug#20584] Multiple irbrc files loaded

Issue #20584 has been reported by aosho235 (Aoyama Shotaro). ---------------------------------------- Bug #20584: Multiple irbrc files loaded https://bugs.ruby-lang.org/issues/20584 * Author: aosho235 (Aoyama Shotaro) * Status: Open * ruby -v: ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- 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] ``` -- https://bugs.ruby-lang.org/

Issue #20584 has been updated by hsbt (Hiroshi SHIBATA). 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? ---------------------------------------- Bug #20584: Multiple irbrc files loaded https://bugs.ruby-lang.org/issues/20584#change-108850 * Author: aosho235 (Aoyama Shotaro) * Status: Third Party's Issue * ruby -v: ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- 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] ``` -- https://bugs.ruby-lang.org/
participants (2)
-
aosho235 (Aoyama Shotaro)
-
hsbt (Hiroshi SHIBATA)