Pages - Menu

Tuesday, October 9, 2012

PostgreSQL - Problem installing gem

Hi fellas!

I was trying for a few days to solve a problem installing pg gem.

The error was about this freaking file: libpq-fe.h

The solution was to uninstall all my postgresql and install these two packages:

$ sudo apt-get install postgresql-9.1
$ sudo apt-get install postgresql-server-dev-9.1


Then you can install your gem with easy.


$ gem install pg


Adios!

No comments:

Post a Comment