This step assumes you have already installed Ruby, rubygems and PostgreSQL.
It also assumes you are on a Unix compatible machine and have sudo handy.
If not, for each command of sudo just log in as root (su).
$ sudo gem install nitro -y --no-rdoc $ sudo gem install ruby-postgres --no-rdoc
Using the -y option takes care of facets, nitro, og and other dependencies.
! Note: this tutorial assumes Nitro version 0.31
Getting TSearch2 is more difficult. Read more at these places:
Those three links will be sufficient to make your database TSearch2-aware. The first one is most important, as it explains how to set everything up. Play around, get comfortable.
T_TMh, ok, I understand you're scared now by reading the above documents, or you are scared of SQL in general. I will make it easy for you: for every special syntax I use with PostgreSQL, I will make a small chapter called *Standard SQL* in which I propose a workaround. While the whole SQL part will virtually fall apart to nothing, the Nitro part will have to do more work. And yes, it will be slow!