-
Notifications
You must be signed in to change notification settings - Fork 42
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
ffi-yajl and yajl-ruby gems have incompatible C libyajl libs... cannot load such file -- ruby-wmi #63
Comments
I am also getting this, with the same thing after a clean install.
I tried to shoe-in ruby-wmi to both gem directories like so:
...but to no avail. I'm scouting for some specific configuration file somewhere that is preventing ruby-wmi from being loaded, but haven't found anything yet. |
For what it's worth, I am also seeing this problem on Windows 7. Vagrant 1.6.5. |
Seeing this issue on Windows 8.1 and Vagrant 1.7.2 |
I never used it on windows, but a colleague of mine who did told me that the plugin makes use of the
Now regarding the error @jsmartt posted, it seems the vagrant environment is missing a gem called ruby-wmi. I would expect that vagrant install would pull that in. That should be required to run the plugin on windows, the strange thing is that it was not installed. The
|
ping @electrofelix Do you have any input regarding this issue? |
BTW: from the posts of @jsmartt @cbreden you both seem to be running an old version of the plugin. The latest version is v1.0.1 @joelwilson @spifrancisv What versions are you using? |
|
Hi , |
Upgraded to 1.0.1 but still have the same issue:
|
Thanks everyone. I will look into this ASAP (that means probably tomorrow otherwise the day after). |
I believe that there is a second gem required on Windows. I can only assume the following piece of code is not getting properly executed in this case.
The list of platforms may not be sufficient, it may be necessary to tweak the list. Suggest running the following on the system missing the gems.
May need to go through the various options suggested on http://stackoverflow.com/a/8699106/1597808 to see which gives sensible result. |
That's a good find!
|
Indeed adding I will add this to the Gemfile in the repo (via PR), and you guys can install the plugin from source to test:
Let me know how it works out. |
Well done it's working perfectly for me
|
It is now broken on non-windows platforms Will work on that before having thePR #73 merged |
Travis is happy again, we can proceed with merging. |
After installing vagrant-chef-zero on my Windows 7 machine, vagrant is no longer able to create VMs, even when the chef-zero provisioner is not used. Here's the error I got:
Vagrant Plugins:
Relevant gems:
Then I uninstall the vagrant-chef-zero plugin and it runs fine. Before uninstalling the plugin, I also tried updating the relevant gems, using older versions of libyajl, yajl-ruby, and ffi-yajl. I even tried uninstalling chefdk and all the gems, then reinstalling a clean version, but no luck.
The text was updated successfully, but these errors were encountered: