title: Should Rails.env and Config.root work in 'rails console' model?
body: <p>Both objects seem to be nil inside of 'rails console'.</p>
  
  <p>Why is that?</p>
  
  <p>Actually now Rails works:</p>
  
  <pre><code>puts Rails.env
  /path/to/my/project
  </code></pre>
  
  <p>but for config:</p>
  
  <pre><code>puts config.root
  
  NameError: undefined local variable or method `config' for #&lt;Object:0x1001dd2a0&gt;
      from (irb):8
  </code></pre>