Skip to content

Instantly share code, notes, and snippets.

@lushc
Last active June 20, 2019 11:12
Show Gist options
  • Save lushc/8181837 to your computer and use it in GitHub Desktop.
Save lushc/8181837 to your computer and use it in GitHub Desktop.
How to fix ffi gem conflict when installing vagrant-librarian-chef
  1. Navigate to C:\HashiCorp\Vagrant\embedded and run msys.bat. This will open a MINGW32 console.
  2. From the MINGW32 consloe run export GEM_HOME=/c:/HashiCorp/Vagrant/embedded/gems; gem list. You should see the ffi gem listed with a version number greater than 1.3.1.
  3. Run gem uninstall ffi
  4. Run gem install ffi -v 1.3.1

This should resolve the "Failed to load the 'vagrant-librarian-chef' plugin" issue, at least for Vagrant 1.3.5 and Chef 11.8.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment