sudo apt-get install ImageMagick libmagickcore-dev libmagickwand-dev libmagick++-dev
IMAGICK=$(find /usr/lib -type f -name Magick-config | grep bin | grep Magick-config | tail -n 1)
if [ -z "${IMAGICK}" ]; then
echo "Magick-config was not found"
else
ln -nfs "${IMAGICK}" /usr/local/bin/Magick-config
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
#!/usr/bin/env ruby | |
# | |
# This script migrates your Heroku app from a Shared DB to a Postgres `dev` Plan | |
# | |
# Usage: | |
# ruby migrate.rb [app_name] | |
# | |
def usage | |
puts "migrate.rb [app_name]" |