diff --git a/config/environments/development.rb b/config/environments/development.rb index 2eb6eb3..e0b234c 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -33,6 +33,9 @@ # Store uploaded files on the local file system (see config/storage.yml for options). config.active_storage.service = :amazon + # Use MiniMagick as the variant processor + config.active_storage.variant_processor = :mini_magick + # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false diff --git a/config/environments/production.rb b/config/environments/production.rb index f85d854..19377aa 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -33,6 +33,9 @@ # Store uploaded files on the local file system (see config/storage.yml for options). config.active_storage.service = :amazon + # Use MiniMagick as the variant processor + config.active_storage.variant_processor = :mini_magick + # Mount Action Cable outside main process or domain. # config.action_cable.mount_path = nil # config.action_cable.url = "wss://example.com/cable"