红宝石,无法解决依赖 [英] ruby sass, unable to resolve dependancies
本文介绍了红宝石,无法解决依赖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我下载了两个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
它安装了它。
紧跟在指南针
,但得到了错误:
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,自己使用最新版本,并使指南针快乐。
- 只需安装sass 3.2.19并自己使用它,这显然只适用于不需要sass 3.3中引入的任何功能。
这篇关于红宝石,无法解决依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文