Sha256: c9af07f99831d6b1ecf4d52266eb9689e87a8eda477e51f8026660c6ba335afa

Contents?: true

Size: 314 Bytes

Versions: 9

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

CarrierWave.configure do |config|
  # Local file storage
  config.permissions = 0o666
  config.directory_permissions = 0o777
  config.storage = :file

  # Use local file storage for tests
  if Rails.env.test?
    config.storage = :file
    config.enable_processing = false
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
archangel-0.4.0 config/initializers/carrierwave.rb
archangel-0.3.0 config/initializers/carrierwave.rb
archangel-0.0.8 config/initializers/carrierwave.rb
archangel-0.0.7 config/initializers/carrierwave.rb
archangel-0.0.6 config/initializers/carrierwave.rb
archangel-0.0.5 config/initializers/carrierwave.rb
archangel-0.0.4 config/initializers/carrierwave.rb
archangel-0.0.3 config/initializers/carrierwave.rb
archangel-0.0.2 config/initializers/carrierwave.rb