mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 05:50:14 +08:00
e1d2b67178
The cache_fullpath for the Stylesheet::Manager was the same for every test runner in a parallel test environment, so when other specs or other places e.g. the stylesheets_controller_spec ran rm -rf Stylesheet::Manager.cache_fullpath this caused errors for other specs running that went through the Stylesheet::Manager::Builder#compile path, causing the error ``` Errno::ENOENT: No such file or directory @ rb_sysopen ``` Also fixed the stylesheet_controller which was interpolating Rails.root + CACHE_PATH itself instead of just using Stylesheet::Manager.cache_fullpath |
||
---|---|---|
.. | ||
manager | ||
compiler.rb | ||
functions.rb | ||
importer.rb | ||
manager.rb | ||
watcher.rb |