mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-31 13:37:49 -05:00
It seems that heroku generally denies us access to ENV['...'] during asset compilation. They have reasonably good reasons for this, and yet I don't know how else we're meant to get at our API keys (other than hardcoding them into our config files, which we don't want to do). So, to work around this, I'm recommending the use of the (experimental, subject to removal/change, sigh) user-env-compile heroku addon. This lets us use ENV during asset compilation. For more info see https://devcenter.heroku.com/articles/labs-user-env-compile