2010-09-17 118 views
2

試圖安裝memcached-northscale並得到一個奇怪的錯誤。任何幫助,將不勝感激。Gem安裝memcached-northscale錯誤

$ sudo gem install memcached-northscale 
Building native extensions. This could take a while... 
ERROR: Error installing memcached-northscale: 
ERROR: Failed to build gem native extension. 

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb 
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h 
+0

我跑OS x垂直10.6.4 – Splashlin 2010-09-17 21:07:20

+0

你已經安裝的Xcode? – Dustin 2010-09-17 21:46:43

回答

0

我能夠通過安裝的XCode蘋果

來解決該問題