From 4f8ef06df3c473bd76303f008598e21a7ac169ae Mon Sep 17 00:00:00 2001 From: Parziphal Date: Sun, 9 Feb 2014 22:15:08 -0500 Subject: [PATCH] Fixed issue #63. Again. --- install.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index f7c12fc..d0399b0 100755 --- a/install.php +++ b/install.php @@ -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");