I am working on a little app (link coming soon) with a friend of mine in an effort to practice my rails and now Rmagick skills since my day job doesn’t allow me the opportunity.
One of the things that I am building is an logo generator so I need to have an image manipulator/generator of some sort. I have used ImageMagick on many projects in the past so I looked forward to spitting out the classy logos uswing Rmagick.
Like most open-souce installs on OSX and Linux there were some issues that came up along the way.
I first ran the following command on my OSX terminal but got a couple of errors.
# sudo gem install RMagick ... Can't find Magick-config or GraphicsMagick-config program. ...
I fixed this error by installing the imagemagick-dev version as opposed to imagemagick.
Then when I tried it again I received this error:
... Can't install RMagick. Can't find libMagick or one of the dependent libraries ...
# fink --no-use-binary-dist install imagemagick-dev
After I rebuilt ImageMagick form source and inclused all of the dependent libraries i was able to successfully run the following command with no problems:
# sudo gem install RMagick
It worked! Yeah!
Now I will get back to the Rmagick docs. 🙂