-
Notifications
You must be signed in to change notification settings - Fork 39
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
Change location of IRB history file #29
Comments
I'm assuming that you are running off of Not documented very well, but |
No, I'm using 1.2.5 |
It looks like the following does not give ownership over
I'm leaning towards adding an option that does a |
That would probably work. I'm also thinking that people are likely to mount volumes for the logs directory so they can persist or otherwise retain them. Moving the .irb_history file into that directory would allow that history to be persisted as well (which might be useful for security audits or just convenience). But maybe that's something that could just be documented. |
If you connect to a docker container and run
rails console
, IRB will attempt to record a history file in/rails/.irb_history
, but this location is not writeable.Perhaps configuring IRB to record this to
/rails/log/irb_history.log
would be preferable. Users can already do this manually by including a.irbrc
file in the root of their project, so it may be helpful to create a default one if that file does not exist.The text was updated successfully, but these errors were encountered: