
18 Jun
2024
18 Jun
'24
6:21 p.m.
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/