I'm trying to install veewee for vagrant, so that I may take advantage of the automation it employs to create base boxes. I could be doing something wrong, but I don't think so...
Here's what I'm running:
gem install veewee
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: vagrant requires json (~> 1.5.1)
I also tried the following:
sudo gem install veewee
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: cucumber requires json (>= 1.4.6); gherkin requires json (>= 1.7.6); vagrant requires json (~> 1.5.1)
This is due to vagrant requiring an old version of json (for compatibility with windows, say the developers) while gherkin recently started requiring some newer one. To solve it, you should:
Make sure you remove any previously installed json gem:
gem uninstall json
Install vagrant first, so that it downloads the old json:
gem install vagrant
Install an old gherkin gem:
gem install gherkin --version '2.11.5'
Now you can install veewee:
gem install veewee
I went through this issue today and this is the sequence that worked for me. Reference: https://github.com/jedi4ever/veewee/issues/518
I hope it helps you.
Best regards,
Ricardo.