title: Rails 4 - Running staging on local machine
body: <p>I try to run staging environment locally using <code>rails s -e staging</code> and <code>rails c -e staging</code>.  </p>
  
  <p>When the application (or me via console) try to access DB, I get the following error:</p>
  
  <pre><code>SQLite3::SQLException: no such table: xxx
  </code></pre>
  
  <p>I guess I simply need to create a staging database on my machine, but cannot figure out how.</p>