为了账号安全,请及时绑定邮箱和手机立即绑定

sass安装问题

sass安装问题

RomanL 2020-04-18 18:51:18

mac安装sass的时候报错,这个该怎么弄啊老师?


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.6.0/gems/ffi-1.12.2/ext/ffi_c

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20200418-59570-5co42d.rb extconf.rb

mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/include/ruby.h


You might have to install separate package for the ruby development

environment, ruby-dev or ruby-devel for example.


extconf failed, exit code 1


Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.12.2 for inspection.

Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.12.2/gem_make.out




查看完整描述

1 回答

添加回答

回复

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信