Can't use compass after installing it

陌路散爱 提交于 2019-12-02 15:51:14

I asked for help on the official compass Github issue's page and got the answer for this problem.

The GitHub issue is right here.

How to fix this:

When installing compass (v0.12.2), it will download the latest sass v3.3.0.rc3 (cause it's a dependency), but compass won't work with the latest sass. You either upgrade compass to the latest alpha version (0.13.*) or downgrade sass to 3.2.*. I choose the last one:

gem uninstall sass --version 3.3.0.rc.3
gem install sass --version 3.2.18
compass -v # Working :)

Make sure you use the version you got installed. Find out by typing this:

sass --version
mpapis

have a look at this answer https://stackoverflow.com/a/21082978/497756 - it was for other problem but should solve yours too.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!