Can't install pg module in my application

hello guys,

i am trying to deploy my application on heroku but when i type gem
install
something wrong happens as you can see in the image attached in this
topic.
some of you can help me to find a way to fix this? thanks :slight_smile:

i am using Linux Ubuntu 14
i already installed libpq

https://lh4.googleusercontent.com/-NL_D5gYUHHo/VM5oPvEv0iI/AAAAAAAAAOU/F6QikGIgJ_8/s1600/Screenshot%2Bfrom%2B2015-02-01%2B14%3A50%3A54.png

If I remember well, you should first install:

  • lib-pq-dev
  • build-essential
  • The Postgres server

thanks, i´ll try it!

i tryied but the same error message persists!

Em segunda-feira, 2 de fevereiro de 2015 08:29:30 UTC-3, Andrey Nering
escreveu:

ok. so i just need to run apt-get install and the names enumerateds
above,
rigth?

Close, but it should be ‘libpq-dev’. You’ll likely also need ‘psycopg2’

Here’s the order I provision in:

  1. build-essential
  2. git
  3. psycopg2
  4. postgresql-9.3
  5. libpq-dev

On Tue, Feb 3, 2015 at 10:13 PM, Cristiano de Araujo Bezerra <