Skip to content

Instantly share code, notes, and snippets.

@zachflower
Created September 22, 2014 17:20
Show Gist options
  • Save zachflower/a88996e1f1c6cc826c25 to your computer and use it in GitHub Desktop.
Save zachflower/a88996e1f1c6cc826c25 to your computer and use it in GitHub Desktop.
Force installation of Vagrant plugins.
unless Vagrant.has_plugin?("<PluginName>")
system('vagrant plugin install <PluginName>')
raise("Plugin installed. Run command again.");
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment