Seems like everyone has trouble installing ImageMagick, but everyone has a slightly different problem. In my case I was getting the error:
Error: No such file or directory - /usr/local/Cellar/imagemagick/6.6.7-10/share/ImageMagick/NEWS.txt
To fix this, do "brew edit imagemagick" (or "sudo brew edit imagemagick" if that's how you brew) and find these lines:# We already copy these into the keg root
%w[NEWS.txt LICENSE ChangeLog].each {|f| (share+"ImageMagick/#{f}").unlink }
and comment out that line of Ruby. Re-run "brew install imagemagick" and it should work.
3 comments:
Thanks, that was super helpful!
Thank you so much! Just trying to get a ruby gem installed. I tried many different ways of installing it. The git repo compiled and configured fine and I thought it was the configure flags. So I was chopping off the configure flags one at a time with no luck. Then this post fixed the problem. I wonder when this popped up with this homebrew formula (this didn't happen last time I did this install)? I wonder if anyone is going to fix it?
Just wanted to say thanks for the help, I wasn't looking forward to troubleshooting this one.
Post a Comment