Search code examples
ruby-on-rails

How to view the entire Rails console history?


Does anyone know how to view the "history" in the rails console?

Pressing the up arrow lets me iterate through recent commands, but I'd like to see them all together in a list. I'm basically looking for the rails equivalent of the Unix history utility.

Is this possible in rails? If so, how?


Solution

  • Look at ~/.irb-history, you will find the history there.