Symfony を最新バージョン (2.0.16) に更新したところ、コンパイルで奇妙な Assetic/CoffeeScript バグが発生しています。
Fatal error: Call to undefined method Assetic\Filter\CoffeeScriptFilter::setBare() in/app/cache/dev/appDevDebugProjectContainer.php on line 119
その行にはこれが含まれています:
$instance->setBare(NULL);
キャッシュを手動でクリアしようとしましたが、問題は解決しません。何か案は?
編集:私の構成ファイルのパスは間違いなく正しいです:
assetic:
debug: %kernel.debug%
use_controller: true
filters:
coffee:
coffee: %kernel.root_dir%/../../../.nvm/v0.6.18/bin/coffee
node: %kernel.root_dir%/../../../.nvm/v0.6.18/bin/node
apply_to: "\.coffee$"
編集2:
2.0.15 の deps と deps.lock のバージョンは正常に動作しますが、2.0.16 のバージョンは動作しません。
#2.0.15 deps:
#[AsseticBundle]
git=http://github.com/symfony/AsseticBundle.git
target=/bundles/Symfony/Bundle/AsseticBundle
version=v1.0.1
#2.0.15 deps.lock
AsseticBundle v1.0.1
#2.0.16 deps
[AsseticBundle]
git=http://github.com/symfony/AsseticBundle.git
target=/bundles/Symfony/Bundle/AsseticBundle
version=origin/2.0
#2.0.16 deps.lock
AsseticBundle fbcbaf46df2aa143759319de205e1babcf7dd87d