我今天早些时候运行了 sudo gem update 并且很高兴看到它工作,但最后它失败了。
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb update
can't find header files for ruby.
我没有 Xcode,如果可能的话,我不想安装它。还有其他方法可以解决这个问题吗?