rails console history

Answered

I've got a fairly simple question regarding the in-IDE rails console.

Where does it store and pull its command history from?

- It does not seem to be coming from ~/.irb_history

I've typed in some plain text passwords and would like to permanently remove some of those commands from the command history.

2 comments
Comment actions Permalink

On windows it is saved under <home>/.RubyMine40/system/userHistory, I'd expect it uses similar path on other platform (of course it may be .RubyMine45 or .RubyMine30 dependind on your version of RM)

Oleg.

0
Comment actions Permalink

To have an small update, in latest versions, in Mac is being stored in ~/Library/Preferences/RubyMine<VERSIONS>/consoles/.history/rb/<CONSOLE_HASH>.txt

0

Please sign in to leave a comment.