Below is the exact message returned from terminal:
ERROR: Error installing sass: ERROR failed to build gem native extension. current directory: /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.18/ext/ffi_c /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20170721-3751-3vsh43.rb extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.18 for inspection. Results logged to /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-16/2.0.0/ffi-1.9.18/gem_make.out
I tried both options, including gem install sass
and sudo gem install sass
. @Carnaru Valentin said to try sudo apt-get install ruby2.1-dev build-essential
. When I tried this, terminal returned sudo: apt-get: command not found
. I am running macOS. Anyone know how to solve this issue?