Install ImageScience and FreeImage on Mac OS X
Posted on December 17th, 2008 by Jeff LinIf you plan on allowing users to upload images to your Rails site, you’re probably using Rick Olson’s attachement_fu plugin. You’ve also probably come across Mike Clark’s File Upload Fu tutorial.
Step one of Mike’s tutorial requires you to install an image processing library. ImageScience is simple and does the trick. To save you some time, follow my steps to get things installed and running quickly on Mac OS X.
- Install MacPorts. I’d recommend just downloading the “dmg” disk image and running the installer.
- Install FreeImage:
sudo port install freeimage - Install the RubyInline gem:
sudo gem install RubyInline - Install ImageScience:
sudo gem install image_science
That should get you through step one of Mike’s tutorial in no time.


Congratulations man! Thank you very much
Posted at 8:15 pm on July 1st, 2009Thanks Dear, Its GreaT Help
Posted at 3:07 pm on September 7th, 2009I was getting this error on OS X and installing the RubyInline gem fixed it. Thanks!
Problems loading ImageScienceProcessor: no such file to load — inline
Posted at 11:35 pm on October 9th, 2009Small addition: after installing MacPorts, quit and open terminal if you have it installed.
Thanks for the help here!
Josh
Posted at 11:49 am on March 17th, 2010^^
I meant “running” not “installed”
Posted at 11:50 am on March 17th, 2010