A
A
Alexey Strukov2017-07-15 16:57:56
macOS
Alexey Strukov, 2017-07-15 16:57:56

How to overcome error when updating sass via gem on Mac?

Greetings.
I decided to update sass to the latest version and ran into this error:

$ sudo gem update sass

Updating installed gems
Updating sass
Building native extensions.  This could take a while...
ERROR:  Error installing sass:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 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

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/gems/ffi-1.9.18/ext/ffi_c/gem_make.out
Nothing to update

I don’t understand Ruby ((
What can it be and how to overcome it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question