title: Rails missing SECRET_KEY_BASE in production
body: <p>I have ubuntu server, Rails 5.0 and apache web server
  Also I have many sites on it</p>
  
  <p>When I add new site, I have an error "Incomplete response received from application"</p>
  
  <p>When I check apache log I see message: </p>
  
  <pre><code>App 14561 stderr: [ 2017-01-17 21:01:16.5804 14591/0x0000000064e100(Worker 1) utils.rb:85 ]: *** Exception RuntimeError in Rack application object (Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`) (process 14591, thread 0x0000000064e100(Worker 1)):
  </code></pre>
  
  <p>My config/secrets.yml contains default value:</p>
  
  <pre><code>secret_key_base: &lt;%= ENV["SECRET_KEY_BASE"] %&gt;
  </code></pre>
  
  <p>Also I have just setted env variable SECRET_KEY_BASE via writting in a file /etc/profile</p>
  
  <p>I see than via command  <code>echo $SECRET_KEY_BASE</code></p>
  
  <p>How to fix error <code>Incomplete response received from application</code></p>