Unable to load Sass / Compass after installing RVM, to use with Assetic in Symfony2

后端 未结 2 1933
我寻月下人不归
我寻月下人不归 2021-01-26 22:58

I was trying to use Capifony, which requires Capistrano, which requires Ruby. But my apt version of ruby was old and was throwing syntax errors. So then I installed RVM and did

2条回答
  •  我在风中等你
    2021-01-26 23:52

    Solution

    Just use lessphp. It can be installed with Composer, and then in config.yml:

        lessphp:
             php: %kernel.root_dir%/../vendor/leafo/lessphp/lessc.inc.php
             apply_to: "\.less"
    

提交回复
热议问题