For ruby
development on Heroku I need to use postgresql
, but when I do bundle install I see this message:
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
You need to install the PostgreSQL server: https://wiki.postgresql.org/wiki/Apt
And install the lib necessary for the pg gem:
It should work after that.