我今天早些時候跑sudo gem更新,很高興看到它的工作,但最終失敗。寶石更新失敗,沒有Xcode
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,如果可能,我不想安裝它。任何其他方式來解決這個問題?
我的舊G4沒有那麼多空間。 – 2009-09-08 19:05:02
也許是時候升級你的硬盤了,因爲你需要Xcode才能編譯原生Gem。 – Ariejan 2009-09-09 04:33:41
我安裝了xcode,但我仍然得到相同的錯誤 – 2009-09-09 06:27:24