I have tried to use the Cuken Vagrant steps with Vagrant = 1.0.3, but Cuken implements these steps against the ~> 0.8.7 version.
The Vagrant API changed a bit since then and the steps are no longer compatible, i.e. I get lots of ArgumentErrors and NoMethodErrors when using them with Vagrant 1.0.3:
D:\my-cookbooks\foo>gem list cuken
*** LOCAL GEMS ***
cuken (0.1.22)
D:\my-cookbooks\foo>vagrant -v
Vagrant version 1.0.3
D:\my-cookbooks\foo>cucumber -b
Feature: the world-changing foo file
Background: # features\foo.feature:3
Given I launch the VM "foo" # cuken-0.1.22.1/lib/cuken/cucumber/vagrant/common.rb:67
undefined method `reload_config!' for #<Vagrant::Environment:0x3a75bf0> (NoMethodError)
D:/Repos/_github/bills-kitchen/target/build/tools/vagrant/vagrant/vagrant/embedded/lib/ruby/gems/1.9.1/gems/cuken-0.1.22/lib/cuken/api/vagrant/v_m.rb:61:in `environment'
D:/Repos/_github/bills-kitchen/target/build/tools/vagrant/vagrant/vagrant/embedded/lib/ruby/gems/1.9.1/gems/cuken-0.1.22/lib/cuken/api/vagrant/v_m.rb:26:in `initialize'
D:/Repos/_github/bills-kitchen/target/build/tools/vagrant/vagrant/vagrant/embedded/lib/ruby/gems/1.9.1/gems/cuken-0.1.22/lib/cuken/api/vagrant.rb:34:in `new'
D:/Repos/_github/bills-kitchen/target/build/tools/vagrant/vagrant/vagrant/embedded/lib/ruby/gems/1.9.1/gems/cuken-0.1.22/lib/cuken/api/vagrant.rb:34:in `vagrant'
D:/Repos/_github/bills-kitchen/target/build/tools/vagrant/vagrant/vagrant/embedded/lib/ruby/gems/1.9.1/gems/cuken-0.1.22/lib/cuken/api/vagrant/common.rb:82:in `call'
D:/Repos/_github/bills-kitchen/target/build/tools/vagrant/vagrant/vagrant/embedded/lib/ruby/gems/1.9.1/gems/cuken-0.1.22/lib/cuken/api/vagrant/common.rb:82:in `run_vm_manager_command'
D:/Repos/_github/bills-kitchen/target/build/tools/vagrant/vagrant/vagrant/embedded/lib/ruby/gems/1.9.1/gems/cuken-0.1.22/lib/cuken/cucumber/vagrant/common.rb:68:in `block in <main>'
...
I have tried to use the Cuken Vagrant steps with Vagrant
= 1.0.3, but Cuken implements these steps against the~> 0.8.7version.The Vagrant API changed a bit since then and the steps are no longer compatible, i.e. I get lots of ArgumentErrors and NoMethodErrors when using them with Vagrant 1.0.3: