in congif/enviroments/production.rb changes config.server_static_assets = false to true