Posted over 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"

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Owner of this card:

Avatar
Thomas Klemm
Last edit:
5 months 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
This website uses cookies to improve usability and analyze traffic.
Accept or learn more