symfony2 assetics yui compressor on windows (path syntax)

后端 未结 3 617
生来不讨喜
生来不讨喜 2021-01-03 12:02

I\'m trying to get assetics running with the yui compressor and, if this is running, sass. Right now, both don\'t work. When removing all filters from config.yml and the twi

3条回答
  •  滥情空心
    2021-01-03 12:50

    For other users who use window server 2008 r2 :

    1. Maybe you should change the C:\windows\Temp folder property to 777 (read/write) for the IIS user / or the machine's normal user

    2. please unpack the ruby.7z from rubyinstaller.org , and go to C:\_ruby193\bin , in this unpack position you should exec the CMD prompt , type :

      ruby -S gem install sass
      

      so that you will get the sass.bat in that position

    3. It's time to use Boo's best answer , and please notice that in symfony2 dev env maybe it's not necessary to change the use_controller to false (in the config.yml) , because there's another use_controller in the config_dev.yml (set to true) , and in routing_dev.yml there's also a _assetic router , they're perhaps associated.

提交回复
热议问题