anonymous / imagemagick_brew.sh
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

How to downgrade imagemagick with brew if you have issues with rmagick gem

View imagemagick_brew.sh
1 2 3 4
brew uninstall imagemagick
cd /usr/local/Cellar
git checkout 834ce4a /usr/local/Library/Formula/imagemagick.rb
brew install imagemagick

Newbie here. How do I undo this. Now cant even reinstall imagemagick!

curl: (22) The requested URL returned error: 404
Warning: Bottle installation failed: building from source.
Error: /usr/local/opt/pkg-config not present or broken
Please reinstall pkg-config. Sorry :(

xeraa commented

It's a git repository, simply reset it:

cd /usr/local/Cellar
git reset --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.