config.assets.initialize_on_precomile = false added to the application.rb file