breakpoint-sass Install Issue

丶灬走出姿态 提交于 2020-01-25 01:07:54

问题


I am trying to run breakpoint and I have followed the steps:

  1. using command line: gem install Breakpoint
  2. Updated Config.rb: require 'breakpoint'
  3. on scss file I have included: @import "breakpoint";

However, when I use compass watch I get the error:

Gem:LoadError on line ["2007"] of C: Unable to activate breakpoint-2.4.2, because sass-3.2.19 conflicts with sass <~> 3.3.0

running sass -v I can see that I have version 3.3.8 of sass installed.

Can anyone help? Happy to provide more info if needed!


回答1:


Install the latest alpha version of compass:

gem install compass --pre



回答2:


The installation instructions for Breakpoint recommend you use Bundler to install Breakpoint instead of a straight gem install in order to ensure all of your dependencies are in check. This is a general best practice when working with anything Ruby related, not just Breakpoint.



来源:https://stackoverflow.com/questions/24142627/breakpoint-sass-install-issue

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