Add config.initialize_on_precompile = true to production.rb