ruby sass,无法解决依赖关系 [英] ruby sass, unable to resolve dependancies
本文介绍了ruby sass,无法解决依赖关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我下载了两个 gem 文件:Sass-3.3.7.gem
&compass-0.12.6.gem
I downloaded two gem files: Sass-3.3.7.gem
& compass-0.12.6.gem
我运行了它安装的 gem install --local Sass-3.3.7.gem
.
对 compass
执行相同的命令,但出现错误:
Followed by the same command for compass
, but got the error:
unable to resolve dependencies: compass requires sass (~>3.2.19)
我正在安装它们,因为我没有连接.有谁知道有什么解决办法吗?
I'm installing them pre-downloaded as I have no connection. Anyone knows what can be the solution?
推荐答案
Compass 0.12.6显然是依赖sass的~>3.2.19,也就是说sass的版本应该大于3.2小于3.3,所以基本上指南针需要 sass 3.2.x.你有两个选择.
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.
- 另外下载 sass 3.2.19,安装两个版本的 sass,自己使用最新的,让 compass 开心.
- 只需安装 sass 3.2.19 并自己使用它,这显然只有在您不需要 sass 3.3 中引入的任何功能时才有效.
这篇关于ruby sass,无法解决依赖关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文