No solía tener ningún problema con el rubí, las gemas y todo lo relacionado. Pero después de instalar X Code Developer Tools y actualizar a Lion, las gemas no se instalan.Rubygems no se instala en OS X Lion
Recibo el siguiente error por cada gema. Este es el mensaje para sqlite como ejemplo:
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
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
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/sqlite3-1.3.4 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/sqlite3-1.3.4/ext/sqlite3/gem_make.out
¿Qué salió mal? ¿Como arreglarlo?
RVM funciona muy bien, lo tengo en León con cero problemas – jschorr