Skip to content

Commit

Permalink
Make MiniMagick::Image constant absolute
Browse files Browse the repository at this point in the history
Otherwise it will look for Carrierwave::MiniMagick::Image
  • Loading branch information
p8 committed Nov 16, 2019
1 parent f81bb4d commit 10c21a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carrierwave/processing/mini_magick.rb
Expand Up @@ -297,7 +297,7 @@ def minimagick!(block = nil)

# backwards compatibility (we want to eventually move away from MiniMagick::Image)
if block
image = MiniMagick::Image.new(result.path, result)
image = ::MiniMagick::Image.new(result.path, result)
image = block.call(image)
result = image.instance_variable_get(:@tempfile)
end
Expand Down

0 comments on commit 10c21a9

Please sign in to comment.