Skip to content

Instantly share code, notes, and snippets.

@jonikorpi
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonikorpi/bc98be0dfdaa92d99cc0 to your computer and use it in GitHub Desktop.
Save jonikorpi/bc98be0dfdaa92d99cc0 to your computer and use it in GitHub Desktop.
Getting pg to work with Ruby 1.9.3
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config
If you run in to missing headers problem, try specifying the include directory of the app:
gem install pg -- --with-pg-include='/Applications/Postgres.app/Contents/Versions/9.4/include/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment