added config/initializers/assets.rb with recommended code from error