public function checkRequirements()
    {
        $process = new Process($this->getBin().' version');
        $process->run();

        if (!$process->isSuccessful()) {
            throw new Exception('compass is not found at '.$this->getBin().'. '.$process->getErrorOutput());
        }
    }
public function checkRequirements()
    {
        $process = new Process($this->getBin().' version');
        $process->run();

        if (!$process->isSuccessful()) {
            throw new Exception('compass is not found at '.$this->getBin().'. '.$process->getErrorOutput());
        }
    }
public function checkRequirements ( ) { $ process = new Process ( $ this -> getBin ( ) . ' version' ) ; $ process -> run ( ) ; if ( ! $ process -> isSuccessful ( ) ) { throw new Exception ( 'compass is not found at ' . $ this -> getBin ( ) . '. ' . $ process -> getErrorOutput ( ) ) ; } }
Check that compass is installed and available.

@throws Exception
Check that compass is installed and available .