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

Support for Vagrant 1.0.x Versions #10

Open
tknerr opened this issue Aug 28, 2012 · 0 comments
Open

Support for Vagrant 1.0.x Versions #10

tknerr opened this issue Aug 28, 2012 · 0 comments

Comments

@tknerr
Copy link

tknerr commented Aug 28, 2012

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>'
...
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