Install ruby-dev, build-essential, ruby-pg, libp5 and libpq-dev in
given order.