Getting the following error while running bundle
An error occurred while installing racc (1.6.0), and Bundler cannot continue.
Make sure that `gem install racc -v '1.6.0' --source 'https://rubygems.org/'` succeeds before bundling.
Getting the following error while running bundle
An error occurred while installing racc (1.6.0), and Bundler cannot continue.
Make sure that `gem install racc -v '1.6.0' --source 'https://rubygems.org/'` succeeds before bundling.
I got the same error. I tried the following and the error's gone. Hopefully it can help you.
Update ruby
to the latest version 2.7.0p0 using:
sudo apt-get install ruby-full build-essential
Re-run bundle install
For me (MacOS Sonoma 14.0) the root issue ended up being this "Failed to build gem native extension" problem. The solution was:
xcode-select --install
Then click yes to download.
You might also want to check that you've agreed to the Xcode license.
© 2022 - 2024 — McMap. All rights reserved.