在罗盘/ SASS中缺少相关性 [英] Missing Dependencies in Compass/SASS

查看:126
本文介绍了在罗盘/ SASS中缺少相关性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我没有通过Compass为我一直在使用的附加组件做太多的疯狂活动。我的主要用例是利用颜色操作库和一些条件/循环结构来生成一些不同的主题。



昨天我确实运行了省略号库的安装然后在尝试'观看'我的项目时收到以下消息...



lockquote
听警告缺少依赖关系'wdm' (version'〜> 0.1')!

请运行以下命令以满足依赖关系:
gem install --version'〜> 0.1'wdm



为了获得更好的性能,建议您满足
缺失的依赖项。


我没有看到我的配置文件中与'wdm'引用有关的任何东西,所以我希望有人能帮我弄清楚如何解决这个缺失的依赖关系。我试过运行任何和所有宝石更新可能。



我目前的'Frameworks&在Compass中的模式是::




  • 指南针/省略号 - 跨浏览器省略号截断文本的插件

  • 指南针/扩展 - 生成指南针扩展。

  • 指南针/派 - 与 http://css3pie.com/ 集成

  • 指南针/项目 - 默认的项目布局。



以下是我的@imports ::




  • @importcompass / css3;
  • @importcompass / css3 / user-interface ;
  • @importpartials / variables;

  • @importpartials / colors;

  • @importpartials / modules;



感谢您的阅读!

解决方案

所以我解决了这个问题。仍然不确定在我的环境中发生了什么变化,导致我需要处理这种依赖性。该解决方案不限于安装wdm宝石。 本地 gem依赖项要求我安装Ruby DevKit( http://rubyinstaller.org/下载)。



我正在使用Windows 7操作系统。按照位于@ https://github.com/oneclick/rubyinstaller/wiki/Development-Kit 的说明进行操作


  1. 解压文件到C:\RubyDevKit

  2. cmd C:\RubyDevKit

  3. ruby​​ dk.rb init >>初始化完成!

  4. 记事本config.yml

  5. 我的主要ruby安装( - C:/ Ruby200-x64)
  6. 检查我是否都很好(ruby dk.rb review) .rb install

之后,我做了几次gem安装,然后直接购买
gem install wdm



之后,我所有的指南针观看困境都是无效的。



值得吗?不知道......但至少我回到了我开始的地方。

So I haven't done too much craziness with add-ons via Compass for what I've been using it for. My primary use case was to leverage the color manipulation libraries and some of the conditional/looping structures to generate some different themes.

Yesterday I did run an install for an ellipsis library and afterwards was given the following message when attempting to 'watch' my project...

[Listen warning]: Missing dependency 'wdm' (version '~> 0.1')!
Please run the following to satisfy the dependency: gem install --version '~> 0.1' wdm

For a better performance, it's recommended that you satisfy the missing dependency.

I don't see anything in my config file that has anything to do with this 'wdm' reference, so I was hoping someone could help me figure out how to resolve this missing dependency. I have tried running any and all gem updates possible.

My current 'Frameworks & Patterns' within Compass are ::

  • compass/ellipsis - Plugin for cross-browser ellipsis truncated text.
  • compass/extension - Generate a compass extension.
  • compass/pie - Integration with http://css3pie.com/
  • compass/project - The default project layout.

Here are my @imports ::

  • @import "compass/css3";
  • @import "compass/css3/user-interface";
  • @import "partials/variables";
  • @import "partials/colors";
  • @import "partials/modules";

Thanks for reading!

解决方案

So I resolved the problem. Still unsure as to what it was that changed in my environment that resulted in me needing to deal with this dependency. The solution was not limited to the installation of the wdm gem. The native gem dependency required me to install the Ruby DevKit (http://rubyinstaller.org/downloads).

I am using a Windows 7 OS. Following the instructions located @ https://github.com/oneclick/rubyinstaller/wiki/Development-Kit I

  1. unpacked the files to C:\RubyDevKit
  2. cmd C:\RubyDevKit
  3. ruby dk.rb init >> Initialization Complete!
  4. notepad config.yml
  5. Added a reference to my primary ruby install ( - C:/Ruby200-x64 )
  6. checked that I was all good ( ruby dk.rb review )
  7. ruby dk.rb install

After that, I did a couple gem installs and then went straight for gem install wdm

After that, all my compass watching woes were null and void.

Was it worth it? Dunno...but at least I'm back to where I started.

这篇关于在罗盘/ SASS中缺少相关性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆