put config.assets.initialize_on_precompile to false in config/application.rb