title: ERROR: Error installing rails zeitwerk requires Ruby version >= 2.4.4
body: <p>I recently changed my laptop and tried installing rails with</p>
  
  <pre><code>gem install rails
  </code></pre>
  
  <p>and I got this error</p>
  
  <pre><code>ERROR:  Error installing rails:
      zeitwerk requires Ruby version &gt;= 2.4.4.
  </code></pre>
  
  <p>I have installed ruby version 2.4.4, 2.5.7, and 2.6.5 and I'm still getting the same error.
  Any pointers how to resolve this will be greatly appreciated. thanks </p>