influitive/apartment — pull request #169 by rabbitt (2014-09-07 14:15:46+00:00)
Title: don't initialize Apartment during assets:precompile

should fix #106. Additionally, this should also fix the problem for anyone not using heroku but using a separate build/deploy process where the build environment doesn't have access to a database.