我正在尝试在启动rails服务器之前运行bundle install并继续收到此错误
An error occurred while installing pg (0.15.1), and Bundler cannot continue.
Make sure that `gem install pg -v '0.15.1'` succeeds before bundling.
Run Code Online (Sandbox Code Playgroud)
请注意,我已经尝试安装postgres,我已经尝试修复pg_config的路径
知道发生了什么事吗?
日志的整个部分内容如下:
Installing pg (0.15.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for pg_config_manual.h... yes
checking for PQconnectdb() in -lpq... yes
checking for PQconnectionUsedPassword()... yes
checking for PQisthreadsafe()... yes
checking for …Run Code Online (Sandbox Code Playgroud)