added config.assets.compile = true in config/environments/production.rb