Skip to content

Commit

Permalink
Merge pull request #2437 from p8/fix-constant
Browse files Browse the repository at this point in the history
Make MiniMagick::Image constant absolute
  • Loading branch information
mshibuya committed Dec 13, 2019
2 parents f81bb4d + e3ffab6 commit 712f405
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 712f405

Please sign in to comment.