Drupal 7 Compass错误:未找到要导入的文件或文件不可读:断点

Drupal 7 Compass错误:未找到要导入的文件或文件不可读:断点,drupal-7,guard,compass,Drupal 7,Guard,Compass,不知什么原因,我的Drupal Omega 4子主题开发环境突然停止工作。我已将问题缩小为指南针问题: % compass watch >>> Compass is watching for changes. Press Ctrl-C to Stop. error sass/layouts/sidebar/sidebar.layout.scss (Line 3: File to import not found or unreadable: breakpoint. L

不知什么原因,我的Drupal Omega 4子主题开发环境突然停止工作。我已将问题缩小为指南针问题:

 % compass watch
>>> Compass is watching for changes. Press Ctrl-C to Stop.
    error sass/layouts/sidebar/sidebar.layout.scss (Line 3: File to import not found or unreadable: breakpoint.
Load paths:
  Compass::SpriteImporter
  /home/<myproject>/public_html/sites/all/themes/<myproject-theme>/sass
  /usr/share/rvm/gems/ruby-2.2.1@omega.<myproject-theme>/gems/compass-core-1.0.3/stylesheets
  /usr/share/rvm/gems/ruby-2.2.1@omega.<myproject-theme>/gems/compass-normalize-1.5/stylesheets
  /usr/share/rvm/gems/ruby-2.2.1@omega.<myproject-theme>/gems/susy-2.2.5/sass)
    error sass/layouts/sidebar/<myproject>-sidebar.layout.scss (Line 4: File to import not found or unreadable: breakpoint.
%指南针手表
>>>罗盘正在观察变化。按Ctrl-C停止。
错误sass/layouts/sidebar/sidebar.layout.scss(第3行:要导入的文件找不到或不可读:断点)。
加载路径:
指南针:精灵导入器
/主页//public\u html/sites/all/themes//sass
/usr/share/rvm/gems/ruby-2.2。1@omega./gems/compass-core-1.0.3/样式表
/usr/share/rvm/gems/ruby-2.2。1@omega./gems/compass-normalize-1.5/样式表
/usr/share/rvm/gems/ruby-2.2。1@omega./gems/susy-2.2.5/sass)
错误sass/layouts/sidebar/-sidebar.layout.scss(第4行:要导入的文件找不到或不可读:断点)。
Guard运行时没有错误,但未根据scss文件更改进行编译

% guard start -i
07:25:07 - INFO - Guard is now watching at '/home/<myproject>/public_html/sites/all/themes/<myproject-theme>'
%guard start-i
07:25:07-信息-卫兵现在正在“/home//public_html/sites/all/themes/”上观看
我试着用手把宝石倒空

rvm gemeset empty

并用Bundler重新安装所有组件

bundle安装

我已使用此处的说明来设置我的环境:

我的项目文件夹中有一个
.ruby版本
文件,指定版本2.2.1


非常感谢所有帮助。

问题是Compass编译Sass文件时需要的
config.rb
文件丢失

现在Compass报告已准备好采取行动:

 % guard start -i

07:27:21 - INFO - Guard::Compass is waiting to compile your stylesheets.
07:27:21 - INFO - Guard is now watching at '/home/<myproject>/public_html/sites/all/themes/<myproject-theme>'
%guard start-i
07:27:21-INFO-Guard::Compass正在等待编译您的样式表。
07:27:21-信息-卫兵现在正在“/home//public_html/sites/all/themes/”上观看
我一定是错误地删除了它——因为它包含在我的.gitignore中,所以我无法知道这一点

经验教训:不要在
.gitignore
中排除
config.rb