Open sanghara opened 1 year ago
I am getting the same error from vagrant now.
I was having similar problem running "vagrant up", and I've solved this way:
Output:
C:/HashiCorp/Vagrant/embedded/gems/gems/i18n-1.14.1/lib/i18n.rb:210:in translate': wrong number of arguments (given 2, expected 0..1) (ArgumentError) from C:/Users/username/.vagrant.d/gems/3.1.3/gems/vagrant-vbguest-0.21.0/lib/vagrant-vbguest/middleware.rb:24:in
call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/action/warden.rb:48:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/plugins/providers/virtualbox/action/customize.rb:40:in
call'
I've opened C:/Users/username/.vagrant.d/gems/3.1.3/gems/vagrant-vbguest-0.21.0/lib/vagrant-vbguest/middleware.rb for edition Line 24: vm.env.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant_vbguest.status.#{status}", machine.info)) Changed to: Line 24: vm.env.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant_vbguest.status.#{status}", **machine.info))
More information: https://discuss.hashicorp.com/t/vagrant-digital-ocean-plugin-broken-with-2-3-6/54132
Hi Team ,
I'm facing plenty of times issue to make vagrant up in git bash even I'd setup ruby but still it remain same, please do find attached the evidence in below and kindly let me know the solution asap.
Error -:97:in `open': wrong number of arguments (given 2, expected 1) (ArgumentError)
Config Stuff- 1.Vagrant 2.VM Oracle Box 3.Package - ubuntu/focal64 4.Ruby without devkit 5.Gitbash
Thank you! Sangharaj
Expected Result - Vagrant successfully up and in VM box os should be run properly
Actual Result - Vagrant couldn't up getting issue
vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'ubuntu/focal64'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'ubuntu/focal64' version '20230711.0.0' is up to date... ==> default: A newer version of the box 'ubuntu/focal64' for provider 'virtualbox' is ==> default: available! You currently have version '20230711.0.0'. The latest is version ==> default: '20230714.0.0'. Run
vagrant box update
to update. ==> default: Setting the name of the VM: ubuntu_default_1689598194048_74016 ==> default: Destroying VM and associated drives...