Set initialize_on_precompile in config/application.rb to false to deploy to heroku