mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Using `autoload` fairly consistently results in 'constant not defined' errors for each of HandleBox, SyncedFolders, WaitForCommunicator when using ruby 3.1. Presumably there's some sort of race condition. Explicitly using `require` for these three makes the problem go away. It might be a bit ugly to have those `require` lines right at the point where those symbols are used, vs. the neat `autoload` section at the top of the file, but I'm not sure how better to structure this. Suggestions most welcome :-) Fixes: #1445 Signed-off-by: Tim Serong <tserong@suse.com>