Can't use compass after installing it

前端 未结 2 520
情歌与酒
情歌与酒 2021-01-30 17:23

I don\'t seem to be able to get compass working on Vagrant using this Vagrantfile. See the rest of the bash script\'s used right here(removed repo) (see Vaproba

相关标签:
2条回答
  • 2021-01-30 18:02

    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
    
    0 讨论(0)
  • 2021-01-30 18:21

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

    0 讨论(0)
提交回复
热议问题