Error occurred while installing nokogiri (1.10.10), and Bundler cannot continue on MacOS Big Sur

Installing the repo for the first time and ran into an issue when running bundle install.

Lets diagnose what changes need to be made to our gemfile to fix this.

An error occurred while installing nokogiri (1.10.10), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.10.10' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  capybara-screenshot was resolved to 1.0.25, which depends on
    capybara was resolved to 3.31.0, which depends on
      xpath was resolved to 3.2.0, which depends on
        nokogiri

System Information

  • macOS Big Sur
  • Version 11.0.1
  • MacBook Pro 15 Inch 2018
Edited by Lauren Barker