Unable to install Vagrant plugin for Parallels Desktop

2 users found this article helpful

Symptoms

When I try to install Vagrant plugin for Parallels Desktop as described in https://parallels.github.io/vagrant-parallels/docs/installation/ 

I get the error message:

ERROR: Failed to build gem native extension.

Cause

It is required to have Xcode Command Line Tools installed for a proper Vagrant provider work which are not installed on your computer at the moment.

Resolution

  1. Run the following command in Terminal to install Xcode Command Line Tools:

    xcode-select --install
     
  2. Then proceed with Vagrant installation.

Was this article helpful?

Tell us how we can improve it.