The exact error is:
An error occurred while installing nio4r (1.2.1), and bundler cannot continue. Make sure that \'gem install nio4r -v \'1.2.1\'\' succeeds
If anyone is looking for this, I had updated my computer and the command line tools were updated. I needed to agree to the XCode license.
Error: You have not agreed to the Xcode license. Please resolve this by running: sudo xcodebuild -license accept
This fixed it for me.