Skip to content

Instantly share code, notes, and snippets.

@stevepolitodesign
Created January 28, 2022 04:35
Show Gist options
  • Save stevepolitodesign/127d35d6136d91f3bff6f41ae1703fff to your computer and use it in GitHub Desktop.
Save stevepolitodesign/127d35d6136d91f3bff6f41ae1703fff to your computer and use it in GitHub Desktop.
Broken Heroku Builds on Rails 7 with Active Storage
 require_relative "boot"

 require "rails/all"

 # Require the gems listed in Gemfile, including any gems
 # you've limited to :test, :development, or :production.
 Bundler.require(*Rails.groups)

 module Redirect2Link
   class Application < Rails::Application
     # Initialize configuration defaults for originally generated Rails version.
     config.load_defaults 7.0
    
    
+    config.active_storage.variant_processor = :mini_magick
   end
 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment