Skip to content

Commit

Permalink
Merge pull request #517 from ualbertalib/force-activestorage-to-use-m…
Browse files Browse the repository at this point in the history
…inimagick

Force ActiveStorage to use minimagick as this is what we currently use in staging/production
  • Loading branch information
murny authored Dec 5, 2023
2 parents 56175df + b321800 commit 170d3d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ class Application < Rails::Application
# Behaviour changes when using Ruby 3.0 so can likely remove after that point.
# TODO: Appears to still be an issue in Ruby 3.0, need to investigate this further.
config.action_view.automatically_disable_submit_tag = false

# We currently use mini_magick for ActiveStorage. VIPS is now the default. So we need to explicitly specify this.
# Delete this line if we ever migrate to VIPS
config.active_storage.variant_processor = :mini_magick
end
end

0 comments on commit 170d3d1

Please sign in to comment.