Fixed issue #63. Again.

This commit is contained in:
Parziphal 2014-02-09 22:15:08 -05:00
parent 650083e3c0
commit 4f8ef06df3

View File

@ -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");