title: Why is the Figaro gem working only if I use erb syntax?
body: <p>I'm using the <a href="https://github.com/laserlemon/figaro" rel="nofollow">Figaro gem</a> but it only works when I access the env variables inside <code>config/database.yml</code> like this:</p>
  
  <pre><code>&lt;%= ENV["MYSQL_USERNAME"] %&gt;
  </code></pre>
  
  <p>but not when I try it the way the docs specify:</p>
  
  <pre><code>ENV["MYSQL_USERNAME"]
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Figaro.env.mysql_username
  </code></pre>
  
  <p>Does anyone know why is that?</p>