安装Sass错误

时间:2018-03-19 05:13:44

标签: ruby-on-rails ruby sass rubygems

当我尝试安装sass

时,我在mac High Sierra上收到此消息
MBP-de-Patricia:~ patricia$ sudo gem install sass
Password:
Building native extensions.  This could take a while...
ERROR:  Error installing sass:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.3.0/gems/ffi-1.9.23/ext/ffi_c
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r 
./siteconf20180318-892-l1v6lp.rb extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/include/ruby.h
extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/ffi-1.9.23 for inspection.
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/ffi-1.9.23/gem_make.out
MBP-de-Patricia:~ patricia$ 

0 个答案:

没有答案