Could you try to use RMagick, and remove the `mini-magick` gem from gemspec?