laserlemon/figaro — pull request #16 by rjsamson (2012-10-19 00:46:31+00:00)
Title: Set proper environment from Heroku

For one of my projects I use Heroku for staging and I noticed when setting up figaro that it was using the environment set on my local machine for environment specific configs being set on Heroku. This commit checks what the RAILS_ENV is set to on Heroku and has figaro use that environment.