Welcome to the Treehouse Community
Looking to learn something new?
installing Ruby on mac, got error...
Hi i don't know what is going on but I've been trying to watch the videos and look up stuff online to install ruby, everything goes well in terminal until the end i get an error message that says :
MadelynsMiniMac-2:~ madelynpapineau$ sudo gem install rails Password: Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension.
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5 for inspection. Results logged to /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ext/nokogiri/gem_make.out MadelynsMiniMac-2:~ madelynpapineau$
Can anyone tell me what I am doing wrong or how to fix this problem please? Thank You