src/Robo/Commands/Vm/VmCommand.php
protected function checkRequirements() {
    if (!$this->getInspector()->commandExists("vagrant")) {
      $this->logger->error("Vagrant is not installed.");
      $this->say("Please install all dependencies for Drupal VM by following the Quickstart Guide:");
      $this->say("https://github.com/geerlingguy/drupal-vm#quick-start-guide");
      throw new BltException("Drupal VM requirements are missing.");
    }
    else {
      $this->installVagrantPlugin('vagrant-hostsupdater');
    }
  }
protected function checkRequirements() {
    if (!$this->getInspector()->commandExists("vagrant")) {
      $this->logger->error("Vagrant is not installed.");
      $this->say("Please install all dependencies for Drupal VM by following the Quickstart Guide:");
      $this->say("https://github.com/geerlingguy/drupal-vm#quick-start-guide");
      throw new BltException("Drupal VM requirements are missing.");
    }
    else {
      $this->installVagrantPlugin('vagrant-hostsupdater');
    }
  }
protected function checkRequirements ( ) { if ( ! $ this -> getInspector ( ) -> commandExists ( "vagrant" ) ) { $ this -> logger -> error ( "Vagrant is not installed." ) ; $ this -> say ( "Please install all dependencies for Drupal VM by following the Quickstart Guide:" ) ; $ this -> say ( "https://github.com/geerlingguy/drupal-vm#quick-start-guide" ) ; throw new BltException ( "Drupal VM requirements are missing." ) ; } else { $ this -> installVagrantPlugin ( 'vagrant-hostsupdater' ) ; } }
Checks local system for Drupal VM requirements.

Verifies that vagrant and its required plugins are installed.
@throws \Acquia\Blt\Robo\Exceptions\BltException
Checks local system for Drupal VM requirements .