Cannot install pg gem in Mavericks with Postgres.app
问题 I am trying to install the pg gem for use with Postgres.app on my local machine. I am running Mavericks. Postgres.app is installed and running fine, but I cannot get the gem to work. I've done the following: Used the command 'env ARCHFLAGS="-arch x86_64" gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config' from the Postgres.app documentation Updated Homebrew and installed the Apple GCC 4.2 Installed the Xcode developer tools Updated my $PATH to reference