add  config.assets.compile = true in env/production.rb