This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Uninstall ImageMagic library and imagick PHP extension using it (installed previously) | |
yum remove -y php-pecl-imagick ImageMagick | |
# Install libraries for JPG, PNG, GIF, WebP, and TIFF image formats | |
yum install -y libpng-devel libjpeg-devel openjpeg2-devel libtiff-devel libwebp-devel giflib-devel | |
# Install latest ImageMagick library compiled from downloaded sources | |
yum install -y tar gzip gcc make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# converted to stand-alone script | |
require 'minitest/autorun' | |
require 'minitest/unit' | |
require 'stringio' | |
# fake out the logger | |
class Rails | |
@@logger = StringIO.new |