ruby sass, unable to resolve dependancies

独自空忆成欢 提交于 2019-11-29 16:46:22

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.

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.

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

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