Reputation: 101
I am getting error while running bundle install
. This is on macOS 12.6 (Intel chip).
Installing pg_query 2.1.4 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
...
An error occurred while installing pg_query (2.1.4), and Bundler cannot continue.
In Gemfile:
pg_query
Upvotes: 0
Views: 509
Reputation: 89
I had the same error, macOS 12.6 (intel i5). This helped me:
run sudo rm -rf /Library/Developer/CommandLineTools and then xcode-select --install
https://apple.stackexchange.com/questions/93573/how-to-reinstall-xcode-command-line-tools
Upvotes: 1