ruby sass,无法解决依赖关系

编程入门 行业动态 更新时间:2024-10-27 02:25:20
本文介绍了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,无法解决依赖关系

    本文发布于:2023-11-16 16:54:49,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1606129.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:关系   ruby   sass

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!