Gem Install Rmagick Fails on Os X El Capitan

gem install rmagick fails on OS X El Capitan

Fixed it.

The magic command to run is this:

xcode-select --install

Bundle can't install RMagick gem on Mac OSX 10.7

I suggest that you use brew to manage your binary dependencies. You can easily install imageMagick with brew, like this:

brew install imagemagick

This is what I have on my system:

imagemagick 6.7.1-1
http://www.imagemagick.org
Depends on: jpeg, libtiff, little-cms, jasper
/usr/local/Cellar/imagemagick/6.7.1-1 (1389 files, 32M)
http://github.com/mxcl/homebrew/commits/master/Library/Formula/imagemagick.rb

And I have the same setup as you have in terms of machine and ruby-version.

RMagick installation: Can't find MagickWand.h

Something was severely wrong on my system, so badly that it was completely f*d up, but I was finally to able to install RMagick for Ruby 1.8.7 again after I installed

  • an older version of ImageMagick with Homebrew
  • a new Ruby version of 1.8.7
  • a new version of GCC

The installation of a new Ruby version with RVM rvm install 1.8.7 also installed a new GCC compiler: it removed an older GCC version 4.6 and installed GCC version 4.9. Apparently GCC was not able to find the right headers despite pkg-config.

Unable to install ImageMagick on Mac OS X El Capitan

After uninstalling brew and installing brew again this work fine thanks.

here is the command to install brew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Issue with installing ImageMagick and rmagick on Mountain Lion

I just updated to Mountain Lion this morning and had rmagick troubles. I had installed ImageMagick through homebrew at some point in the past, so this worked for me after installing the new commandline tools through xcode's preferences window.

brew update
brew uninstall ImageMagick
brew install ImageMagick
gem uninstall rmagick
gem install rmagick

I didn't have to get funky with gcc like some above posts mentioned.

Installing RMagick gem -- Can't find MagickWand.h

Turns out the answer was in Can't install RMagick 2.13.1. Can't find MagickWand.h. after all. I had just followed the suggestion incorrectly.

C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/6.7.7-6/include/ImageMagick gem install rmagick

This installed rmagick gem successfully.

Unfortunately, rmagic is still not working with CarrierWave :-(, but that is a different problem altogether.

gem install json issue with Mac OS X 10.11

I should have used the latest ruby (2.2.3) not the old one (2.2.1)

ruby-rails-sample> rvm --default use 2.2.3
Using /Users/smcho/.rvm/gems/ruby-2.2.3
smcho@macho ruby-rails-sample> gem install json
Building native extensions. This could take a while...
Successfully installed json-1.8.3
Parsing documentation for json-1.8.3
Installing ri documentation for json-1.8.3
Done installing documentation for json after 1 seconds
1 gem installed


Related Topics



Leave a reply



Submit