can't install pg module in my application

21 views
Skip to first unread message

Cristiano de Araujo Bezerra

unread,
Feb 1, 2015, 12:54:52 PM2/1/15
to rubyonra...@googlegroups.com
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 :)

i am using Linux Ubuntu 14
i already installed libpq


Andrey Nering

unread,
Feb 2, 2015, 6:29:30 AM2/2/15
to rubyonra...@googlegroups.com
If I remember well, you should first install:

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

Cristiano de Araujo Bezerra

unread,
Feb 2, 2015, 8:32:32 AM2/2/15
to rubyonra...@googlegroups.com
thanks, i´ll try it!

Cristiano de Araujo Bezerra

unread,
Feb 3, 2015, 11:13:06 PM2/3/15
to rubyonra...@googlegroups.com
i tryied but the same error message persists!

tamouse pontiki

unread,
Feb 3, 2015, 11:30:48 PM2/3/15
to rubyonra...@googlegroups.com
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




--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a0e1d466-48c0-4e71-9f30-02a84a8b7338%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Cristiano de Araujo Bezerra

unread,
Feb 4, 2015, 5:27:38 AM2/4/15
to rubyonra...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages