libpq

Rails 3 - can't install pg gem

北慕城南 提交于 2019-11-26 02:41:25
问题 When I try to run bundle (bundle install), I all the time get Installing pg (0.13.2) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/ryan/.rvm/rubies/ruby-1.9.2-p290/bin/ruby 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