Skip to content

Breaking when using Drush #12

@antoinelafontaine

Description

@antoinelafontaine

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions