Skip to content

Commit 9895615

Browse files
authored
Merge pull request rails#54411 from ghiculescu/patch-13
Add missing `require` in ImageMagick analyzer
2 parents 885734a + 4e66cbe commit 9895615

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
begin
44
gem "mini_magick"
5+
require "mini_magick"
56
rescue LoadError => error
67
raise error unless error.message.include?("mini_magick")
78
end

0 commit comments

Comments
 (0)