Using Compass and Sass with Symfony Assetic in Vagrant

[yaml]
# This file is auto-generated during the composer install
parameters:
# Your parameters

assetic.filter.compass.bin: /opt/vagrant_ruby/bin/compass
assetic.sass.bin: /opt/vagrant_ruby/bin/sass
assetic.ruby.bin: /opt/vagrant_ruby/bin/ruby
[/yaml]

To make sure the assets can be accessed by non bundle notation
php app/console assets:install web –symlink

Make sure you filter only scss files with compass, and not all css files. If you filter all CSS files with compass you will likely get indentation errors.

Posted February 11th, 2014 in Uncategorized.

Leave a response:

*