Monday, October 4, 2010

Rails pg gem

Ошибка вида:
/usr/bin/ruby1.8 extconf.rb
checking for pg_config... no
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
Решается с помощью установки следующих пакетов.

В ubuntu:
apt-get install postgresql-server-dev-8.4

В Gentoo:
emerge postgresql-server