Skip to content

Instantly share code, notes, and snippets.

@mradbourne
Last active November 29, 2018 11:53
Show Gist options
  • Save mradbourne/6c4a66a57c9ca5eee67d85de683c4e14 to your computer and use it in GitHub Desktop.
Save mradbourne/6c4a66a57c9ca5eee67d85de683c4e14 to your computer and use it in GitHub Desktop.
Install old homebrew package
# Install old homebrew package
brew uninstall ImageMagick
gem uninstall rmagick
# Second, please see https://github.com/rmagick/rmagick/issues/256 and read the answer by hristozov, viz:
brew rm imagemagick
cd "$(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/"
git checkout 6f014f2b7f1f9e618fd5c0ae9c93befea671f8be imagemagick.rb
brew install imagemagick
brew pin imagemagick
git reset --hard
# This will force homebrew to use /usr/local/Cellar/imagemagick/6.9.7-3
# Third,
gem install rmagick
brew install --build-from-source https://raw.githubusercontent.com/Homebrew/homebrew-core/6f014f2b7f1f9e618fd5c0ae9c93befea671f8be/Formula/imagemagick.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment