-
Notifications
You must be signed in to change notification settings - Fork 780
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
gherkin-dependency incompatibility with vagrant #518
Comments
I've got this as an issue as well. It breaks not only veewee, but vagrant completely. little-boobop:~ dragonfax$ vagrant |
@tomasdurka @dragonfax - I hear you ... you can try to use veewee standalone for now instead of through vagrant. (workaround) I guess this gherkin - json - vagrant - fog - chef version dance comes up more often now . The right answer is probably to remove the gherkin/cucumber dependency completely and use simple script execution and check exit code . |
I think the better way would be to get rid of the vagrant dependency. Vagrant will sooner or later not be installable as gem, so relying on it in the gemfile is not helpful. I actually consider the integration of veewee as vagrant plugin as not very essential - it just doesn't matter if I call vagrant basebox build oder veewee vbox build. |
@Xylakant - Good point - we can make the vagrant gem optional - |
As a temp solution, what worked for me was: gem install json -v 1.5.4 --no-rdoc --no-ri |
Awesome - that did the trick for me in the meantime. |
Vendoring the gems also works in the meantime
Be sure to use
|
this is still breaking - is there a fix that won't break everyone's environments? |
Using gherkin <= "2.11.5" should work. |
I went with the following and all is well for me.
|
I'm pretty close to removing the gherkin dependency . Give me another day or so. |
In addition to the workarounds above I had to install missing xslt libs to make it work
|
Bye bye cucumber - 86bdd78 |
I tried @prep's steps but didn't have any luck. I'm actually using rbenv instead of RVM, if that makes any difference. |
@nickchappell can you try the latest git version ? I've removed the gherkin dependency completely in the new version |
Has this been released? Am still facing this issue with 0.3.7 |
@jedi4ever Is there a way to get the git version of Veewee to play with Vagrant installed via gems? Or is the git version of veewee intended to be installed and run with bundler, keeping it's own copy of the Vagrant gem in the folder you clone the veewee repo to? FWIW, I read (can't remember where) that Vagrant 1.0.7 would take care of the json gem dependency, but I don't know when that will be released. |
take the git version , run rake build , this will generate a gem file. that you can probably use for vagrant install On 06 Mar 2013, at 18:45, nickchappell notifications@github.com wrote:
|
@jedi4ever Cool, I'll try it out when I get home from work. Thanks! |
@jedi4ever Still had issues, but they were different, with Vagrant's gem dependency specifications. Changed the ~> to >= for net-ssh and net-scp in Vagrant's gemspec file. Things seem to function normally now. |
Hi folks, have same issues here - conflicts due to dependencies in fog with net-scp. I fall back to fog 1.8 - this solved them. |
veewee-0.3.7 depends on cucumber >=1.0.0
cucumber-1.2.1 depends on gherkin ~> 2.11.0
gherkin-2.11.6 depends on json >= 1.7.6
BUT
vagrant-1.0.6 depends on json ~> 1.5.1
The text was updated successfully, but these errors were encountered: