diff --git a/Vagrantfile b/Vagrantfile index 8b5cbd9..1981e06 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,5 +1,11 @@ # -*- mode: ruby -*- # vi: set ft=ruby : + +#unless Vagrant.has_plugin?("vagrant-vbguest") +# raise "\n\nAmbiente de desenvolvimento não pode ser criado não foi encontrado o plugin vagrant-vbguest.\n"+ +# "Para solucionar o problema, execute o seguinte comando no diretório raiz do projeto.\n\n"+ +# "> vagrant plugin install vagrant-vbguest \n\n" +#end # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" diff --git a/Vagrantfile_Distrib b/Vagrantfile_Distrib index cfc2b13..4a94640 100644 --- a/Vagrantfile_Distrib +++ b/Vagrantfile_Distrib @@ -1,10 +1,12 @@ # -*- mode: ruby -*- # vi: set ft=ruby : -# All Vagrant configuration is done below. The "2" in Vagrant.configure -# configures the configuration version (we support older styles for -# backwards compatibility). Please don't change it unless you know what -# you're doing. +unless Vagrant.has_plugin?("vagrant-vbguest") + raise "\n\nAmbiente de desenvolvimento não pode ser criado não foi encontrado o plugin vagrant-vbguest.\n"+ + "Para solucionar o problema, execute o seguinte comando no diretório raiz do projeto.\n\n"+ + "> vagrant plugin install vagrant-vbguest \n\n" +end + Vagrant.configure(2) do |config| # Box do vagrant contendo o ambiente de desenvolvimento do SEI -- libgit2 0.21.2