This commit addresses the "MiniMagick::Invalid: You must have ImageMagick or GraphicsMagick installed" error.
Steps to reproduce
vagrant ssh
git clone https://github.com/rails/rails
cd rails
bundle install
cd activestorage
bin/test test/models/representation_test.rb -n test_representing_an_image
This commit addresses the following error:
$ bin/test test/models/representation_test.rb -n test_representing_an_image
... snip ...
E
Error:
ActiveStorage::RepresentationTest#test_representing_an_image:
MiniMagick::Invalid: You must have ImageMagick or GraphicsMagick installed
/var/lib/gems/3.1.0/gems/mini_magick-4.12.0/lib/mini_magick/image.rb:221:in rescue in validate!' /var/lib/gems/3.1.0/gems/mini_magick-4.12.0/lib/mini_magick/image.rb:218:invalidate!'
/var/lib/gems/3.1.0/gems/mini_magick-4.12.0/lib/mini_magick/image.rb:131:in `block in create'
This commit addresses the "MiniMagick::Invalid: You must have ImageMagick or GraphicsMagick installed" error.
Steps to reproduce
This commit addresses the following error:
Error: ActiveStorage::RepresentationTest#test_representing_an_image: MiniMagick::Invalid: You must have ImageMagick or GraphicsMagick installed /var/lib/gems/3.1.0/gems/mini_magick-4.12.0/lib/mini_magick/image.rb:221:in
rescue in validate!' /var/lib/gems/3.1.0/gems/mini_magick-4.12.0/lib/mini_magick/image.rb:218:in
validate!' /var/lib/gems/3.1.0/gems/mini_magick-4.12.0/lib/mini_magick/image.rb:131:in `block in create'