diff --git a/install.php b/install.php index 2052100..492f3dc 100755 --- a/install.php +++ b/install.php @@ -68,19 +68,6 @@ Rails\ActiveRecord\ActiveRecord::connection()->executeSql( $c->put("done"); -/** - * Compile assets - */ -$c->put("\n"); -$c->put("Compiling assets", null, Color::BLUE); - -# Set console to assets -Rails::assets()->setConsole($c); - -# Compile files -Rails::assets()->compileAll(); - - /** * Create /public/data folders */ @@ -104,6 +91,20 @@ foreach ($dirs as $dir) { mkdir($path); } } + + +/** + * Compile assets + */ +$c->put("\n"); +$c->put("Compiling assets", null, Color::BLUE); + +# Set console to assets +Rails::assets()->setConsole($c); + +# Compile files +Rails::assets()->compileAll(); + $c->put("done");