views:

40

answers:

1

Trying to install memcached-northscale and getting a weird error. Any help would be appreciated.

$ 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
A: 

I was able to fix the issue by installing XCode from Apple

Splashlin