title: undefined local variable or method `config' for main:Object - rails
body: <p>When I run the rails application, I get the following error:</p>
  
  <blockquote>
    <p>undefined local variable or method "config" for main:Object</p>
  </blockquote>
  
  <p>How can I resolve it?</p>