Skip to content

Instantly share code, notes, and snippets.

@nileshtrivedi
Created December 3, 2022 09:39
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 nileshtrivedi/4bb2557be1a18dd3d2b64e773e09e5da to your computer and use it in GitHub Desktop.
Save nileshtrivedi/4bb2557be1a18dd3d2b64e773e09e5da to your computer and use it in GitHub Desktop.
Ruby on Rails helpers for Apple M1 for missing libpq or missing libidn
brew install libpq
bundle config build.pg --with-pg-config="$(brew --prefix)/opt/libpq/bin/pg_config"

brew install icu4c
brew install libidn
bundle config build.idn-ruby --with-idn-dir="$(brew --prefix)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment