Skip to content
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
@dcastellano1

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

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.