Sass 为什么会出现断点编译错误

Sass 为什么会出现断点编译错误,sass,drupal-theming,guard,breakpoint-sass,Sass,Drupal Theming,Guard,Breakpoint Sass,关于Drupal Omega子主题的创建。我刚刚安装了一个新的子主题,并运行了bundle安装 我的主题是希望导入以下库 // Import external libraries. @import "compass"; @import "breakpoint"; @import "singularitygs"; @import "toolkit-no-css"; @import "toolkit"; 在运行bundle exec guard或drush ogrd时,我会遇到以下编译错误。我以前

关于Drupal Omega子主题的创建。我刚刚安装了一个新的子主题,并运行了bundle安装

我的主题是希望导入以下库

// Import external libraries.
@import "compass";
@import "breakpoint";
@import "singularitygs";
@import "toolkit-no-css";
@import "toolkit";
在运行bundle exec guard或drush ogrd时,我会遇到以下编译错误。我以前做过这件事,没有任何问题,我怀疑某个地方有gem不兼容的地方,但我真的不知道该怎么办。有什么建议吗


我的config.rb文件包含以下内容

##
## This file is only needed for Compass/Sass integration. If you are not using
## Compass, you may safely ignore or delete this file.
##
## If you'd like to learn more about Sass and Compass, see the sass/README.txt
## file for more information.
##

# Default to development if environment is not set.
saved = environment
if (environment.nil?)
  environment = :development
else
  environment = saved
end

# Location of the theme's resources.
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
generated_images_dir = images_dir + "/generated"
javascripts_dir = "js"

# Require any additional compass plugins installed on your system.
require 'compass-normalize'
require 'rgbapng'
require 'toolkit'
require 'susy'
require 'sass-globbing'

##
## You probably don't need to edit anything below this.
##

# You can select your preferred output style here (:expanded, :nested, :compact
# or :compressed).
output_style = (environment == :production) ? :expanded : :nested

# To enable relative paths to assets via compass helper functions. Since Drupal
# themes can be installed in multiple locations, we don't need to worry about
# the absolute path to the theme from the server omega.
relative_assets = true

# Conditionally enable line comments when in development mode.
line_comments = (environment == :production) ? false : true

# Output debugging info in development mode.
sass_options = (environment == :production) ? {} : {:debug_info => true}

# Add the 'sass' directory itself as an import path to ease imports.
add_import_path 'sass'

Omega 4的最新开发版本似乎解决了不兼容gems的大多数问题。感谢您的帮助。

您的config.rb是什么样子的?问题经过编辑以显示config.rb文件的内容,问题也发布在对工具包有一些建议的地方errors@cimmanon我刚试过这个,但运气不好。我仍然收到相同的错误“导入文件未找到或无法读取:断点”我刚开始在我为同事构建的一个流浪者盒子上出现相同的问题。我登录到他们的旧框,注意到安装的gems版本非常不同。
##
## This file is only needed for Compass/Sass integration. If you are not using
## Compass, you may safely ignore or delete this file.
##
## If you'd like to learn more about Sass and Compass, see the sass/README.txt
## file for more information.
##

# Default to development if environment is not set.
saved = environment
if (environment.nil?)
  environment = :development
else
  environment = saved
end

# Location of the theme's resources.
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
generated_images_dir = images_dir + "/generated"
javascripts_dir = "js"

# Require any additional compass plugins installed on your system.
require 'compass-normalize'
require 'rgbapng'
require 'toolkit'
require 'susy'
require 'sass-globbing'

##
## You probably don't need to edit anything below this.
##

# You can select your preferred output style here (:expanded, :nested, :compact
# or :compressed).
output_style = (environment == :production) ? :expanded : :nested

# To enable relative paths to assets via compass helper functions. Since Drupal
# themes can be installed in multiple locations, we don't need to worry about
# the absolute path to the theme from the server omega.
relative_assets = true

# Conditionally enable line comments when in development mode.
line_comments = (environment == :production) ? false : true

# Output debugging info in development mode.
sass_options = (environment == :production) ? {} : {:debug_info => true}

# Add the 'sass' directory itself as an import path to ease imports.
add_import_path 'sass'