An error occurred while installing ffi (1.9.10), and Bundler cannot continue.
If you’re seeing one or both of the following errors:
“ERROR: Error installing ffi: ERROR: Failed to build gem native extension.”
“An error occurred while installing ffi (1.9.10), and Bundler cannot continue.”
Check your `xcode-select`:
xcode-select -p
In my case, it was:
/Applications/Xcode-beta.app/Contents/Developer
But I had removed Xcode-beta and wanted to use the stable version of Xcode. Make the change:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
And now `bundle install` should work. 🎉
Leave a Reply