Home > front end >  Gem::Ext::BuildError: ERROR: Failed to build gem native extension in macOS
Gem::Ext::BuildError: ERROR: Failed to build gem native extension in macOS

Time:10-25

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

CodePudding user response:

CodePudding user response:

Deleting xcode tools and reinstalling fixed the issue.

  • Related