edited /config/environments/production.rb file to switch config.serve_static_assets and config.assets.compile to true