Posted in Server things

Life-saving (well, time-saving) stuff working with Rmagick

I just installed Imagemagick on the Mac as a prerequisite for installing the Rmagick gem for image processing with CarrierWave.

After performing the necessaries to get CarrierWave using Rmagick, the server crashed, then crashed again when I tried a second time.

Here’s the solution:

brew install imagemagick --disable-openmp

If you’ve already got imagemagick installed, it will need to be uninstalled before reinstallation with that option. That can be done all in one step as follows:

brew uninstall imagemagick && brew install imagemagick --disable-openmp

The Rmagick gem also then needs to be rebuilt against the new Imagemagick installation:

gem pristine rmagick 

Via stackoverflow here.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s