Possible Duplicate:
Unable to install pg gem on ubuntu - Can’t find the 'libpq-fe.h header
Whenever I try to install the pg gem for my Rails project, it gives me Error "failed to build native extensions"
.
I already used a couple of tricks but failed.