added a lin of code in the config/application.rb file:config.assets.initialize_on_precompile = false