gem install rmagick fails on OS X El Capitan
问题 I upgraded to El Capitan a couple of days ago and ran a brew update && brew upgrade It updated imagemagick which caused ruby's rmagick gem to stop working. No problem I thought, I'll just run gem install rmagick and it will recompile. Except it didn't, when I run it I see this: gem install rmagick Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /Users/sam/.rbenv/versions/2.2.3/bin/ruby -r ./siteconf20151019