Sha256: 931c85d2877194b580c772fd443c5eeb1ccbcd569f5c0996d90a305031d24432
Contents?: true
Size: 509 Bytes
Versions: 3
Compression:
Stored size: 509 Bytes
Contents
require 'rails/generators' class Sufia::MinimagickConfigGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc """ This Generator makes the following changes to your application: 1. Creates new mini_magick.rb initializer configuring use of posix-spawn """ def banner say_status("info", "ADDING MINIMAGICK CONFIG", :blue) end def create_configuration_file copy_file 'config/mini_magick.rb', 'config/initializers/mini_magick.rb' end end
Version data entries
3 entries across 3 versions & 1 rubygems