Skip to content

Instantly share code, notes, and snippets.

@jonikorpi
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save jonikorpi/bc98be0dfdaa92d99cc0 to your computer and use it in GitHub Desktop.

Select an option

Save jonikorpi/bc98be0dfdaa92d99cc0 to your computer and use it in GitHub Desktop.

Revisions

  1. jonikorpi revised this gist Apr 24, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config
    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.3/include/'
    gem install pg -- --with-pg-include='/Applications/Postgres.app/Contents/Versions/9.4/include/'
  2. jonikorpi created this gist Apr 24, 2015.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/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.3/include/'