问题
An error occurred while installing nio4r (2.5.8), and Bundler cannot continue.
Make sure that gem install nio4r -v '2.5.8' --source 'https://rubygems.org/'
succeeds before bundling.
解决方案
执行命令
bundle config build.nio4r --with-cflags="-Wno-incompatible-pointer-types"
参考
https://stackoverflow.com/questions/78313570/unable-to-bundle-install-nio4r-on-a-new-mac-m3