Posted almost 4 years ago. Visible to the public. External content.

Persist Rails or IRB Console Command History After Exit

Create, or edit your ~/.irbrc file to include:

Copy
require 'irb/ext/save-history' IRB.conf[:SAVE_HISTORY] = 2000 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Author of this card:

Avatar
Thomas Klemm
Last edit:
10 days ago
by Florian Leinsinger
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Thomas Klemm to makandra dev