Good installed foundation 5 just downloading and copying files
良好的安装基础5只需下载和复制文件
Now to move on veriaveis the need fondation have a .scss file however does not have anything on my Symfony2 project to use them
现在继续veriaveis需要基金会有一个.scss文件然而我的Symfony2项目没有任何东西使用它们
config.yml
config.yml
filters:
cssrewrite: ~
compass: ~
sass: ~
base.html.twig
base.html.twig
{% stylesheets "bundles/delivveweb/scss/*" filter="compass" %}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
he is generating the css file however when you open the file contains the following error:
他正在生成css文件,但是当您打开该文件时包含以下错误:
[exception] 500 | Internal Server Error | Assetic\Exception\FilterException
[message] An error occurred while running:
'/usr/bin/ruby' '/usr/bin/compass' 'compile' '/tmp' '--boring' '--config' '/tmp/assetic_compassl2wvYW' '--sass-dir' '' '--css-dir' '' '/tmp/assetic_compassH8m6D9.scss'
Error Output:
/usr/bin/ruby: No such file or directory -- /usr/bin/compass (LoadError)
I hope someone can help me install it, if it were possible using composer
如果有可能使用作曲家,我希望有人可以帮我安装它
1 个解决方案
#1
2
Type in console:$whereis compass
or which compass
键入控制台:$ whereis指南针或指南针
Example output: - compass: /usr/local/bin/compass
输出示例: - 指南针:/ usr / local / bin / compass
Now in config.yml:
现在在config.yml中:
filters: compass: bin: /usr/local/bin/compass
过滤器:指南针:bin:/ usr / local / bin / compass
#1
2
Type in console:$whereis compass
or which compass
键入控制台:$ whereis指南针或指南针
Example output: - compass: /usr/local/bin/compass
输出示例: - 指南针:/ usr / local / bin / compass
Now in config.yml:
现在在config.yml中:
filters: compass: bin: /usr/local/bin/compass
过滤器:指南针:bin:/ usr / local / bin / compass