title: Rails console not letting me access command history from previous console sessions
body: <p>The issue: <strong>I can no longer access my command history from previous Rails console sessions</strong> - history is only available for my <em>current</em> console session.  </p>
  
  <p>I'm on macOS Sierra (10.12.2). My last app was Rails 3.2 and Ruby 2.1.6 (installed via rvm), and when I fired up a console (using <code>rails c</code> command from terminal), pressing the up arrow on my keyboard let me access my history from previous console sessions.</p>
  
  <p>My new app is Rails 5.0.1 and Ruby 2.4.0 (also installed using rvm). When I start the console in this app, pressing the up arrow doesn't recall any commands from before. </p>
  
  <p>In my home folder, the <code>.irbrc</code> file looks like this:</p>
  
  <pre><code>require "awesome_print"
  AwesomePrint.irb!
  require 'irb/ext/save-history'
  </code></pre>
  
  <p>My intuition is this has something to do with rvm changing something up on me, since I can't really think of what else would have changed going between my old app and newer one. </p>
  
  <p>Any idea why I can't retrieve old Rails console commands from my history? </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>When I start the console it gives me the following messages:</p>
  
  <pre><code>Loading development environment (Rails 5.0.1)
  Cannot read termcap database;
  using dumb terminal settings.
  </code></pre>