icon [Debian]PostgreSQL利用時のエラー (2016/06/23)
railsサーバ起動時に以下のエラー
$ rails s
....
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
....
An error occurred while installing pg (0.18.4)
libpq-fe.h がないので postgresql-server-dev を入れろと怒られる。

# aptitude install postgresql-server-dev-9.3

bundle してもう一度起動
$ bundle install
$ rails s