-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config file placed at the project level at .config/irb/irbrc
is not parsed.
#904
Comments
.config/irb/irbrc
is not parsed..config/irb/irbrc
is not parsed.
The document is wrong.
Project level config is a good idea, but I'd like to align with other tool's config directory name. |
My I haven't done proper research on this topic yet, but the same approach is already implemented in Rubocop. I think it is worth removing misleading documentation until we sort out this issue. P.S. I fixed the line number in my first comment. |
The documentation states that:
https://github.com/ruby/irb/blob/master/lib/irb.rb#L148
but there seems to be no code which would do this. Creating such file does nothing in reality as well: I have a project under
~/projects/notes
and if I create a config file at~/projects/notes/.config/irb/irbrc
and put something likeputs "test"
there, nothing is printed when I runirb
being at the project root.irb/lib/irb/init.rb
Line 451 in 35b87cf
I really see beneficial to put a config file just under
.config/irb/irbrc
of my project instead of polluting project root, so I would like to double-check that it is a bug, rather than misleading documentation.The text was updated successfully, but these errors were encountered: