title: Version of SQLite (3.7.17) is too old. Active Record supports SQLite >= 3.8
body: <p>I am trying to run Rails 6 in my EC2 instance, but I am encountering the following error:  </p>
  
  <p><code>Your version of SQLite (3.7.17) is too old. Active Record supports SQLite &gt;= 3.8.</code></p>
  
  <p>If it matters:<br>
  - I have the following in my gem file: <code>gem 'sqlite3', '~&gt; 1.4</code><br>
  - I am using the following command: <code>rvmsudo rails server -p 80 -b 0.0.0.0</code><br>
  - When I run <code>rails s</code> locally I do not encounter the issue.</p>
  
  <p>This is the same issue as <a href="https://stackoverflow.com/questions/56086629/error-your-version-of-sqlite-3-7-17-is-too-old-active-record-supports-sqlite">here</a>, but the selected answer was specific to using AWS Cloud9.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Here are the results after running <code>sudo yum install build-essential libsqlite3-dev sqlite3 software-properties-common</code>:</p>
  
  <pre><code>Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
  No package build-essential available.
  No package libsqlite3-dev available.
  No package sqlite3 available.
  No package software-properties-common available.
  Error: Nothing to do
  </code></pre>
  
  <p>Here are the results after after running <code>sudo yum install libsqlite3-dev</code> and <code>sudo yum install sqlite3</code>, respectively:</p>
  
  <pre><code>Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
  No package libsqlite3-dev available.
  Error: Nothing to do
  </code></pre>
  
  <pre><code>Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
  No package sqlite3 available.
  Error: Nothing to do
  </code></pre>
  
  <p><strong>EDIT 2:</strong><br>
  When running <code>rails db:migrate</code> I see this:</p>
  
  <pre><code>warning Skipping preferred cache folder "/home/ec2-user/.cache/yarn" because it is not writable.
  warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-1000".
  ** Execute db:load_config
  ** Execute db:migrate
  rails aborted!
  Your version of SQLite (3.7.17) is too old. Active Record supports SQLite &gt;= 3.8
  </code></pre>