added config.assets.initialize_on_precompile = true to production.rb as well