-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build gem native extension. pg 1.2.3. Mac OS Ventura #496
Comments
You could use a hack like this: gem inst pg:1.2.3 -- --with-cflags=-Drb_cData=rb_cObject But honesty you shouldn't use a pg version that is 3 years older than the ruby version you're using, but instead fix the dependency issue. Is there a reason that the dependency is locked to pg-1.2.3? |
I'll close the issue since the related issue with pg-1.3.0 to 1.4.5 is solved by #498 . The old pg-1.2.3 is still required by lsylvester/active_storage-postgresql#16 but I opened a PR to fix this - now that pg-1.4.6 is released: lsylvester/active_storage-postgresql#17 |
Thank you for your work 🙏 |
Hi,
I am trying to build the pg gem but I get an error.
I have this on the .zshrc
Installing the gem:
Can't upgrade yet to version 1.4 due other dependency.
Can you point to me what else can I try?
Thanks.
The text was updated successfully, but these errors were encountered: