Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not work on windows with vagrant 2.3.7 #138

Open
magnetik opened this issue Aug 11, 2023 · 1 comment
Open

Do not work on windows with vagrant 2.3.7 #138

magnetik opened this issue Aug 11, 2023 · 1 comment

Comments

@magnetik
Copy link

I'm not sure if this is something known.

But when trying the most simple example, I have :

/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/plugins/kernel_v2/config/vm.rb:300:in `synced_folder': can't add a new key into hash during iteration (RuntimeError)
from C:/Users/user/.vagrant.d/gems/3.1.3/gems/vagrant-sshfs-1.3.7/lib/vagrant-sshfs/action_hostpath_fixup.rb:74:in `block (2 levels) in loop_and_fix_unfix'

It seems to be coming from :

env[:machine].config.vm.synced_folder(

Not sure if I'm doing something wrong.

Thanks.

@magnetik
Copy link
Author

magnetik commented Aug 11, 2023

After a little search, it seems that it's something new from ruby 1.9 : https://stackoverflow.com/questions/25198085/is-there-a-solution-to-bypass-cant-add-a-new-key-into-hash-during-iteration-r

But since I know almost nothing in ruby I won't be able to fix it !

[edit] I'm such a ruby noob that I didn't knew that ruby 1.9 is super old

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant