Tag: 第页

不能在Postgres.app中安装pg gem

我试图在我的本地机器上安装用于Postgres.app的pg gem。 我正在跑小牛队。 Postgres.app安装并运行良好,但我不能得到的gem工作。 我做了以下几点: 使用Postgres.app文档中的命令“env ARCHFLAGS =” – arch x86_64“gem install pg – –with-pg-config = / Applications / Postgres.app / Contents / MacOS / bin / pg_config” 更新了Homebrew并安装了Apple GCC 4.2 安装了Xcode开发人员工具 更新了我的$ PATH以引用Postgres.app bin和lib目录 一切都没有成功。 以下是我收到的具体错误消息: Building native extensions with: '–with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config' This could take a while… ERROR: Error installing pg: ERROR: Failed to build […]