Added config.assets.initialize_on_precompile = false in config/application.rb