gpt4 book ai didi

compass-sass - 要导入的文件未找到或无法读取 : susy

转载 作者:行者123 更新时间:2023-12-04 15:35:20 25 4
gpt4 key购买 nike

我就是想不通我的 Susy 设置有什么问题。
我在 OS X 10.7.4

我一直在这里关注:http://susy.oddbird.net/guides/getting-started/

错误

Syntax error: File to import not found or unreadable: susy.
Load paths:
Users/simon/Websites/wpsvntree/trunk/sass
/Users/simon/.gem/ruby/1.8/gems/compass-0.11.7/frameworks/blueprint/stylesheets
/Users/simon/.gem/ruby/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets
Compass::SpriteImporter
on line 2 of /Users/simon/Websites/wpsvntree/trunk/sass/_base.sass
from line 2 of /Users/simon/Websites/wpsvntree/trunk/sass/screen.sass

我安装的 Gems:
*** LOCAL GEMS ***

chunky_png (1.2.6, 1.2.5)
compass (0.12.2, 0.11.7)
compass-boilerplate-plugin (0.1.0)
compass-h5bp (0.0.5, 0.0.2)
compass-rails (1.0.3)
fssm (0.2.9, 0.2.8.1)
html5-boilerplate (2.1.0)
sass (3.2.1, 3.1.15)
susy (1.0.3)

我的 config.rb 文件位于项目的根目录中
require 'susy' 
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
relative_assets = true

_base.scss
// ---------------------------------------------------------------------------
// Imports
@import "susy";

/* GRID SETUP
----------------------------------------------------------------------------------*/

$total-columns : 12;
$column-width : 4em;
$gutter-width : 1em;
$grid-padding : $gutter-width;
$show-grid-backgrounds : true;
/* SECTION
----------------------------------------------------------------------------------*/

屏幕.scss
 @import "base";
.container {
@include container;
@include susy-grid-background;
}

我从 wpsvntree 目录运行了这个命令: compass create trunk -r susy -u susy 成功 .

然后 compass watch trunk/
查看我的项目,我看到了上面的第一个错误。

我看不出我哪里出错了。

谢谢。

最佳答案

按照此处的解决方案进行操作。固定的。
https://github.com/ericam/susy/issues/21

关于compass-sass - 要导入的文件未找到或无法读取 : susy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13022956/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com