ubuntu 下 下面是报错信息。还有个问题,在哪看 heroku 支持的各种包的版本啊?
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/home/coldfarmer/.rvm/rubies/ruby-2.2.0/bin/ruby -r ./siteconf20150823-3468-1op4obf.rb extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options