You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
binding.irb loads .irbrc even if command line option -f (Don't initialize from configuration file) is specified.
I think it should follow -f option. Maybe it should load only once.
For reference, IRB's command irb (Start a child IRB) does not load .irbrc.
Result of irb_info
irb(main):001:0> irb_info
Ruby version: 3.2.2
IRB version: irb 1.7.1 (2023-07-01)
InputMethod: RelineInputMethod with Reline 0.3.5
.irbrc path: /Users/tomoya.ishida/.irbrc
RUBY_PLATFORM: arm64-darwin22
LANG env: ja_JP.UTF-8
East Asian Ambiguous Width: 1
Terminal Emulator
Terminal.app
Setting Files
# ~/.irbrc
puts 'irbrc file loaded'
The text was updated successfully, but these errors were encountered:
Description
If you have
.irbrc
fileYou can see that
binding.irb
loads.irbrc
every time.binding.irb
loads.irbrc
even if command line option-f
(Don't initialize from configuration file) is specified.I think it should follow
-f
option. Maybe it should load only once.For reference, IRB's command
irb
(Start a child IRB) does not load.irbrc
.Result of irb_info
Terminal Emulator
Terminal.app
Setting Files
The text was updated successfully, but these errors were encountered: