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