title: Running rails in production mode locally
body: <p>I am trying to run rails(dont know much about it) in production mode using the following command:</p>
  
  <pre><code>rails server -e production
  </code></pre>
  
  <p>But I am getting these errors in console and an ugly page without the css is getting loaded:</p>
  
  <pre><code>Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://10.20.200.199:3000/".
  (index):1 Refused to execute script from 'http://10.20.200.199:3000/javascripts/application.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
  (index):1 Refused to execute script from 'http://10.20.200.199:3000/logins/plugins.js?v=1' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
  </code></pre>
  
  <p>This is happening in all the scripts we are using.</p>
  
  <p>Can somebody help me what might be going wrong here.</p>
  
  <p>Thanks in advance.</p>