An error occurred while installi

2024-09-11  本文已影响0人  NapoleonY

问题

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

上一篇 下一篇

猜你喜欢

热点阅读