peroxide icon indicating copy to clipboard operation
peroxide copied to clipboard

Breaking when using Drush

Open antoinelafontaine opened this issue 13 years ago • 1 comments

When using a peroxide based theme and trying to do a 'drush dl' I get the following error:

Error: Class 'SassParser' not found in /peroxide/peroxide.engine, line 186

I have Sass (ruby gem version of) installed and there a is check done in your engine code that fails to load The SassParser when in a Drush run.

  // Test for Ruby version first
  @exec("sass -v", $op, $ret);
  if($ret != 0) {
    include_once $path . 'phamlp/sass/SassParser.php';
  }

I can, for now, easily mitigate that by removing the check.

antoinelafontaine avatar Jul 01 '12 01:07 antoinelafontaine

:+1: also got the same issue...

dminca avatar Jul 19 '15 19:07 dminca