title: Where to set environment variables such that they can be read from `config/initializer/*.rb`?
body: <p>I have all my environment variables in <code>config/initializers/app_environment_variables.rb</code> and this setup has been working so far, except now I need to use the variables in <code>config/environments.rb</code> and <code>config/environments/*.rb</code>, which seem to be executed before <code>config/initializer/*.rb</code>.</p>
  
  <p>I found <a href="http://www.sekuda.com/rails_initialization_and_configuration_order" rel="nofollow">this</a> page showing "the configuration order" as the following,</p>
  
  <ol>
  <li>config/preinitializer.rb</li>
  <li>config/environment.rb</li>
  <li>config/environments/#{RAILS_ENV}.rb</li>
  <li>plugin initialization</li>
  <li>gem initialization</li>
  <li>config/initializer/*.rb</li>
  <li>...</li>
  </ol>
  
  <p>but that info is from 2009, whereas I am on <code>Rails 3.1</code>. I expected to see this kind of info in the "<a href="http://guides.rubyonrails.org/initialization.html" rel="nofollow">initialization</a>" or the "<a href="http://guides.rubyonrails.org/configuring.html" rel="nofollow">configuring</a>" guides, but either I was unable to find the info, or it's not there.</p>