0
votes

need your help.

Just installed compass and sass, and after reloading page, I've got this error:

InvalidArgumentException: The file "filters/ruby.xml" does not exist (in: /var/www/ProjectName/Symfony/vendor/symfony/assetic-bundle/Symfony/Bundle/AsseticBundle/DependencyInjection/../Resources/config).

How can I reinstall or create the file.?

1
Which version of assetic?Dan Blows
Have you do php app/consolle assets:install?DonCallisto
DonCallisto Yeah I've done php app/console assets:installkaizer

1 Answers

0
votes

Looks like your Assetic config is incorrect, and it tries to load configuration for a non-existent ruby filter. I assume that assetic.filters section of your configuration looks like this:

assetic:
    # ...
    filters:
        ruby:
            apply_to: "\.sass$"

Assetic looks up a filter configuration that matches the filters array keys, and it sure cannot find a ruby filter. You should use sass filter instead:

assetic:
    # ...
    filters:
        sass:
            apply_to: "\.scss$"