title: Reusing Grails variables inside Config.groovy
body: <p>In my <code>Config.groovy</code> I have:</p>
  
  <pre><code>// Lots of other stuff up here...
  
  environments {
      development {
          myapp.port = 7500
      }
      production {
          myapp.port = 7600
      }
  }
  
  fizz {
      buzz {
          foo = "Port #${myapp.port}"
      }
  }
  </code></pre>
  
  <p>When I run my app via <code>grails -Dgrails.env=development run-app</code>, my web app spins up without errors, but then at runtime I see that the value of <code>fizz.buzz.foo</code> is "<em>Port #[:]</em>". <strong>I would expect it to be "Port #7500".</strong></p>
  
  <p>Why isn't Grails seeing my var?</p>