ruby sass, unable to resolve dependancies

后端 未结 3 548
执念已碎
执念已碎 2020-12-22 01:17

I downloaded two gem files: Sass-3.3.7.gem & compass-0.12.6.gem

I ran gem install --local Sass-3.3.7.gem which it installe

相关标签:
3条回答
  • 2020-12-22 01:46

    You can run gem dependency <gem name> to see list of the gem dependencies and required versions.

    0 讨论(0)
  • 2020-12-22 01:56

    Compass 0.12.6 apparently depends on sass ~>3.2.19, which means that the version of sass should be bigger than 3.2 and smaller than 3.3, so basically compass needs sass 3.2.x. You have two options.

    1. Also download sass 3.2.19, install both versions of sass, use the latest one yourself and make compass happy.
    2. Just install sass 3.2.19 and use that yourself as well, this obviously only works if you don't need any features introduced in sass 3.3.
    0 讨论(0)
  • 2020-12-22 02:07

    Install Sass 3.2.19:

    sudo gem install sass -v 3.2.19 
    

    I didn't need Sass 3.3.7, and Jekyll keep finding the latest version installed, so I got uninstalled Sass 3.3.7:

    sudo gem uninstall sass
    

    Sass doesn't seem to overwrite previous versions, so I still had 3.3.2 installed (if there are multiple versions installed it gives you a choice of what version you'd like to uninstall), so I uninstalled that as well.

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