Skip to content

Instantly share code, notes, and snippets.

@Epigene
Last active December 24, 2019 11: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 Epigene/d32d6054abbf1b24403f588fac6ebc83 to your computer and use it in GitHub Desktop.
Save Epigene/d32d6054abbf1b24403f588fac6ebc83 to your computer and use it in GitHub Desktop.
Make bundler always use some pg_config
# single install
gem install pg -v 1.1.4 -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/12/bin/pg_config
# permanent config, troublesome
bundle config build.pg --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.6/bin/pg_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment