Fixed issue #63. Again.
This commit is contained in:
parent
650083e3c0
commit
4f8ef06df3
@ -104,9 +104,11 @@ Rails::assets()->setConsole($c);
|
|||||||
|
|
||||||
# Compile files
|
# Compile files
|
||||||
# CSS minifier Toopay/Assetic-Minifier uses /e modifier in its
|
# CSS minifier Toopay/Assetic-Minifier uses /e modifier in its
|
||||||
# preg_replace() calls, which is deprecated as of PHP 5.5. Change
|
# preg_replace() calls, which is deprecated as of PHP 5.5, triggering
|
||||||
# error_reporting to avoid triggering the deprecation warning.
|
# an error and stopping the script. This workaround will fix that problem.
|
||||||
error_reporting(E_WARNING);
|
error_reporting(0);
|
||||||
|
Rails::assets()->compileFile('application.css');
|
||||||
|
Rails::config()->assets->precompile = ['application.js'];
|
||||||
Rails::assets()->compileAll();
|
Rails::assets()->compileAll();
|
||||||
|
|
||||||
$c->put("done");
|
$c->put("done");
|
||||||
|
Reference in New Issue
Block a user