Precompiles locally for heroku and adds production env database adapter