I had a very very tough time trying to find the solution to this. So, I am compelled to post what solved my problem.
First off, when you go looking for solutions in Stackoverflow, etc., do look at the dates when the problem and the solution was posted. Usually, the closest dated solution will be your best candidate.
So, here's your checklist of items:
-
Install XCode 4.5.2 (get it from App Store).
-
Open XCode > Preferences > Downloads > Components. Install Command Line Tools.
-
Install XQuartz.
-
Install Imagemagick via brew but not using the bottled build.
brew update
brew install imagemagick --disable-openmp --build-from-source
- Link the necessary libraries.
$ cd /usr/local/Cellar/imagemagick/6.8.0-10/lib
$ ln -s libMagick++-Q16.7.dylib libMagick++.dylib
$ ln -s libMagickCore-Q16.7.dylib libMagickCore.dylib
$ ln -s libMagickWand-Q16.7.dylib libMagickWand.dylib
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
- Finally, install Rmagick.
$ gem install rmagick
Whew. Took me almost 8 hours in total to figure this out. I hope this saves someone else's hours! :)
References:
Author
Maricris Nonato
I turn tech ideas into websites using Ruby. I'm a budding Buddhist practitioner, passionate about health & fitness, a certified yoga teacher, and a cat fanatic!
Recent posts
Tags
- cats
- yoga
- blood pressure
- elecom
- scrum
- coderkitty
- RailsGirls
- workstation
- creativity
- live book signing
- healthy living
- lowering blood pressure
- crafting
- movies
- reviews
- new year
- blessings
- faith
- quotes to live by
- travelers notebook
- Bujo
- planners
- Monday Motivation
- himalayan salt lamp
- productivity
- life tips
- happiness
- success
- ruby
- digital ocean
- regex
- programming
- humor
- music
- pyromusical
- sphinx
- mac
- games
- musings
- yogi
- namaste
- photography
- hobby
- slimming
- sendmail
- lifestyle
- memes
- open letter
- sports
- shooting
- events
- meetups
- tech talks
- rails
- datatables
- sorting
- cycling
- COVID-19
- wishlist
- xmas
- tradition
- song lyrics
- life lessons
- poems
- short story
- food
- living life
- nginx
- technology
- youtube
- my Nyey
- meditation
- new normal
- jump rope
- two-wheel journey
- planner girl
- rubyist
- culture
- Filipino
- mental health
- counseling
- self-care
Advertise
Newsletter
Instagram Feed
Links
I'm sharing with you P150 gift from GoFutureFresh! Click here to accept my gift.