我在我的网络服务器上使用 SASS 和 Compass。编辑我的 config.rb 文件并运行“指南针手表”后,它会引发以下错误。在编辑文件之前它没有抛出错误。这里可能出了什么问题?这可能是我的编辑器(尾声)保存文件的方式吗?还是发生了其他事情?
syntax error, unexpected tSTRING_BEG, expecting $end
@import "compass"
配置文件
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
@import "compass"
# 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
# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false
# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass