A
A
Alex McOwkin2018-07-17 20:27:37
Yii
Alex McOwkin, 2018-07-17 20:27:37

How to install yii2 via vagrant?

Hello.
I can't install yii2 via vagrant,
I work under windows10. installed virtualbox. I go to the console as an administrator
when I do:
E:\dvv\www\yii2progect>vagrant up
I get an error:

C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/bin/vagrant:47:in `[]=': Invalid argument - ruby_setenv(VAGRANT_NO_PLUGINS) (Errno::EINVAL)
        from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/bin/vagrant:47:in `block in <main>'
        from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/bin/vagrant:36:in `each_index'
        from C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/bin/vagrant:36:in `<main>'

if you raise a simple server ( https://puphpet.com/) , then everything works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex McOwkin, 2018-07-18
@phpist85

solved a problem.
you need to install additional plugins
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-cachier

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question