sparkapi/spark_api — pull request #9 by ifightcrime (2012-08-28 15:25:46+00:00)
Title: Check for RACK_ENV when pulling api key files

For some reason thin doesn't seem to set RAILS_ENV, and sets RACK_ENV instead. I know places like Heroku use thin (it's not just me!) so hopefully this will fix those cases as well.