Add config.assets.initialize_on_precompile = false to config/application.rb