使用指南针进行编译时出错,导入的文件未找到或无法读取

时间:2014-09-05 14:20:21

标签: css css3 styles sass compass

当我运行指南针编译时,我得到:

    error sass/styles.scss (Line 39 of sass/wh-base/_imports.scss: File to import not found or unreadable: components/productNavigation.
Load paths:
  Compass::SpriteImporter
  /var/www/web/styles/sass
  /usr/local/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.rc.1/stylesheets
  /usr/local/lib/ruby/gems/2.0.0/gems/susy-2.1.3/sass
  /usr/local/lib/ruby/gems/2.0.0/gems/sassy-maps-0.4.0/sass
  /usr/local/lib/ruby/gems/2.0.0/gems/breakpoint-2.4.6/stylesheets)
Compilation failed in 1 files.

这是我的宝石列表信息"

*** LOCAL GEMS ***

bigdecimal (1.2.0)
breakpoint (2.4.6)
chunky_png (1.3.1)
compass (1.0.0.rc.1)
compass-core (1.0.0.rc.1)
compass-import-once (1.0.5)
ffi (1.9.3)
fssm (0.2.10)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
multi_json (1.10.1)
psych (2.0.0)
rake (0.9.6)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
rdoc (4.0.0)
rubygems-update (2.4.1)
sass (3.3.14, 3.3.12, 3.2.19)
sassy-maps (0.4.0)
susy (2.1.3)
test-unit (2.0.0.0)

我试过其他宝石版本(后期)没有任何结果。

我使用的是ruby 2.0.0

任何帮助?

1 个答案:

答案 0 :(得分:0)

似乎文件中的导入中没有大写字母。出于某种原因,我在一台机器上的版本不区分大小写。