Tag: 在轨道上的

安装pg(0.17.1)时发生错误,并且Bundler无法继续

我刚刚安装了Rails 4.0.2 ,当创build一个新的应用程序,在捆绑阶段,我得到: Installing pg (0.17.1) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/Dee/.rvm/rubies/ruby-2.0.0-p247/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 Makefile due to some reason, probably lack […]