Skip to content

Instantly share code, notes, and snippets.

@ninp0
Last active May 4, 2023 17:35
Show Gist options
  • Save ninp0/49c7fa7a77cde72855866415f7e296e8 to your computer and use it in GitHub Desktop.
Save ninp0/49c7fa7a77cde72855866415f7e296e8 to your computer and use it in GitHub Desktop.
#!/bin/bash --login
macports_postgres_root='/opt/local/lib/postgresql14'
rvmsudo /bin/bash \
--login \
-c "bundle config build.pg -- --with-pg-config=${macports_postgres_root}/bin/pg_config && gem install pg -- --with-pg-config=${macports_postgres_root}/bin/pg_config"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment