if Rails.env.test? || Rails.env.cucumber? CarrierWave.configure do |config| config.storage = :file config.enable_processing = false end end