Last active
September 24, 2023 12:04
-
-
Save geovanygameros/a6cbfb44c39efeb85ae4cbc193d95689 to your computer and use it in GitHub Desktop.
Install pg gem in Ruby on Rails with Postgres app in mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace the pg version for the one you're triying to install and replace the path with version number of your Postgres app | |
# gem install pg -v [PG GEM VERSION] -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/[POSTGRES APP VERSION]/bin/pg_config | |
gem install pg -v '1.5.4' -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/15/bin/pg_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment