Closed neclimdul closed 1 year ago
I ran into this issue as well; same errors. I downgraded from Vagrant 2.2.19 to 2.2.18 and the Vagrantfile generated by Test Kitchen (this driver) are properly read by Vagrant and the VM is created.
this is to be marked as closed when we release an updated gem that has the fix, only PR is merged to main as of now
:ghost: Brief Description
This is a continuation of the problems from #459 I guess. With Ubuntu 22.04 vagrant gets install with Ruby 3 and I can't figure out a way to get the fixes in the related threads to work. The fix of "use ruby2.7" isn't really available best I can tell at least not without some sort of rbenv hacks.
Version
$ bundle exec kitchen --version Test Kitchen version 3.2.2 $ vagrant --version Vagrant 2.2.19
Environment
Ubuntu 22.04
Scenario
Get test kitchen to run with a configured network.
Steps to Reproduce
Start with ubuntu 22.04. Install vagrant and bundler.
.kitchen.yml
Gemfile
Expected Result
Test kitchen runs without errors.
Actual Result
:heavy_plus_sign: Additional context
I understand this is kinda a mess and there might not be a lot this project can do since this is a problem with vagrant but hoping there's something that can be done to support writing Vargant files that can run in Ruby 3.