我正在尝试在Symfony2上的Assetic中安装Compass,我似乎遇到了一些问题。我在转储资产时不断收到此错误:
RuntimeError on line ["62"] of /home/psion/.gem/ruby/gems/compass-connector-0.8.2/lib/
compass-connector.rb: Path mode app is required for partials/base, vendor detected
我的配置文件非常简单,非常适合罗盘:
parameters:
# Assetic
assetic.filter.compass.images_dir: %kernel.root_dir%/../web
assetic.filter.compass.http_path:ssetic.filter.compass.http_path: /images
assetic:
debug: %kernel.debug%
use_controller: false
#java: /usr/bin/java
filters:
cssrewrite: ~
#closure:
# jar: %kernel.root_dir%/Resources/java/compiler.jar
#yui_css:
# jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar
sass: ~
compass: ~
知道错误的含义或解决方法吗?
答案 0 :(得分:1)
我发现我正在使用一个相当讨厌的罗盘连接器,即使我告诉Assetic它不再存在,它仍在调用该连接器。删除连接器,打开下一个错误,但这是另一个问题。