Create a gist now

Instantly share code, notes, and snippets.

anonymous /
Created Dec 19, 2012

What would you like to do?
How to downgrade imagemagick with brew if you have issues with rmagick gem
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 May 10, 2013

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