WebAppNiche

We dont just develop applications, we build business

Installing ferret gem in Ubuntu running Rails version 2

E-mail Print PDF

The other day I was trying to install ferret gem for one of my projects on my Ubuntu system. For those who haven't heard of ferret, “Ferret is a high-performance, full-featured text search engine library written for Ruby.” It can be said to be the Ruby counterpart of zend search lucene library.
The documents said simply running a sudo apt-get install ferret should suffice. But to my frustration it was not so easy and being new to ruby, I had a tough time figuring out waht was going wrong. However thanks to Google and many helpfull developers, I finally managed to install ferret on my system. So I thought, it might be useull for someone else who gets struck with ferret.

First of all you will need to install ruby-dev package (in case you havn't done so already)

sudo apt-get install ruby1.8-dev

Thereafter you also need to install the libc6-dev package (offcourse in case you havn't done so already)

sudo apt-get install libc6-dev


Both done, now you should be able to install ferret without any issues

sudo apt-get install ferret

Hope this saves someone's time out there :)

You are here: Home