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