D
D
Dreaded2018-07-29 18:46:28
Vagrant
Dreaded, 2018-07-29 18:46:28

Why isn't Vagrant up working?

When I try to vagrant up, I get this message:

C:/HashiCorp/Vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/bin/vagrant:47:in `[]=': Invalid argument - ruby_setenv(VAGRANT_NO_PLUGINS) (E
        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>'

Windows 7 x64, Vagrant 2.1.2, virtual box 5.2.16
How to cure?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2018-12-16
kuzmin @sergueik

show that in line 47 in the version that you have installed?
it's just a Ruby script. what he takes there on the index to pull without ref. code is difficult
for example in
/C/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.2/bin/vagrant
29 # also disable loading of the Vagrantfile if it is available as the environment
30 # is not required for these commands
31 argv .each_index do |i|
32 arg = argv[i]
33
34 if !arg.start_with?("-")
35 if ["plugin", "help"].include?(arg) || (arg == "box" && argv[i+1] == "li st")
36 opts[:vagrantfile_name] = ""
37 ENV['VAGRANT_NO_PLUGINS'] = "1"
nothing wrong - so p-ta p-e that in the version installed on your

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question