You may have encountered a bug in the Ruby interpreter or extension libraries.

出现You may have encountered a bug in the Ruby interpreter or extension libraries.这样的问题,是因为苹果M系列芯片兼容性造成的,解决方案如下:

sudo gem uninstall cocoapods

brew install cocoapods

如果未安装brew,参考:brew安装

你可能感兴趣的:(You may have encountered a bug in the Ruby interpreter or extension libraries.)