Skip to content

Instantly share code, notes, and snippets.

@ipepe
Last active August 23, 2017 15:04
Show Gist options
  • Select an option

  • Save ipepe/ed52a313ffbf264e9e9daae800fc4a1f to your computer and use it in GitHub Desktop.

Select an option

Save ipepe/ed52a313ffbf264e9e9daae800fc4a1f to your computer and use it in GitHub Desktop.
Install pg gem when using Postgress.app on Mac
#!/bin/bash
gem install pg -v '0.19.0' -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/latest/bin/pg_config
# or just add bin of Postgress app into PATH env
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment