本文介绍了使用规范化和Codekit的SASS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试编译仅包含来自它告诉我
这个错误
When I'm trying to compile my project that include only @import "normalize" from compass-normalize gem it tells methie error
Compass was unable to compile one or more files in the project:
LoadError on line 161 of /Applications/CodeKit.app/Contents/Resources/engines/compass/bin/../lib/compass/configuration/data.rb: no such file to load -- compass-normalize
Run with --trace to see the full backtrace
okey。因此,我重新安装了所有宝石,但仍然无法正常工作。当我在命令行中执行指南针手表
时,还能执行更多操作!实际上它可以编译... Codekit到底有什么问题呢?
okey. So I have reinstalled all gems but it still doesn't work. What is more when I'm doing compass watch
in command-line it works! And actually it compiles... what's wrong with codekit than?
推荐答案
您确定您拥有该特定的gem吗?如果没有,您可以尝试:
Are you sure you have that specific gem? If not, you could try:
sudo gem install compass-normalize
这篇关于使用规范化和Codekit的SASS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!