Hi! Thanks for visiting my blog. If you've received any value from my content would you mind supporting my new startup by downloading our browser add-on? It's called PriceBlink and makes online shopping a breeze. You can watch it in action here and download it for Chrome, Firefox, IE, or Safari by going to PriceBlink.com. Thank you and I hope you enjoy!

Rails, RMagick, and OS X

Jul 27

There’s always seems to be some daunting hurdle when dealing with relatively new technologies. I stumbled across the hurdle this evening and it’s one that will either “make you or break you”. For me it was getting RMagick working with Rails on OS X. Luckily I stumbled across this INCREDIBLE article that explains almost everything you need to know.

I use the word almost because after compiling and installing the different sources I still ran into a problem installing RMagick. Since the article mentions configuring everything for /usr/local it turns out that this wasn’t in my path. So after you get through the article (and before you install the RMagick gem) be sure to add /usr/local/bin to your path and you should be able to install the RMagick gem with no trouble. The command looks like:

export PATH=”/usr/local/bin:$PATH”

I would say that for even a seasoned developer or *nix admin you’re looking at about an hour from start to finish. Building ImageMagick takes a good 10-15 minutes alone. Your results may vary, but I think you’ll lose sight of time once you successfully get everything up and running!

One comment

  1. Thx alot for this article, it helped me get out of trouble. I still dunno how to acces the program fromphp, but i’m getting there :D

Trackbacks/Pingbacks

  1. [db75] » Blog Archive » Rails, RMagick, and Linux - [...] « Rails, RMagick, and OS X [...]

Leave a Reply