Skip to content

Instantly share code, notes, and snippets.

@emyl
Created February 18, 2014 11:09
Show Gist options
  • Select an option

  • Save emyl/9068922 to your computer and use it in GitHub Desktop.

Select an option

Save emyl/9068922 to your computer and use it in GitHub Desktop.
Install vagrant-librarian-chef on Windows
REM Ensure that vagrant-berkshelf is not installed (it conflicts with vagrant-librarian-chef)
vagrant plugin uninstall vagrant-berkshelf
REM Install the plugin
vagrant plugin install vagrant-librarian-chef
REM Remove conflicting versions of the ffi gem from .vagrant.d
set GEM_HOME=%USERPROFILE%\.vagrant.d\gems
C:\HashiCorp\Vagrant\embedded\bin\gem uninstall ffi --ignore-dependencies --version ">1.5.0"
REM Replace the embedded ffi gem with the 1.5.0 version
set GEM_HOME=C:\HashiCorp\Vagrant\embedded\gems
C:\HashiCorp\Vagrant\embedded\bin\gem uninstall ffi --ignore-dependencies --version ">1.5.0"
C:\HashiCorp\Vagrant\embedded\bin\gem install ffi --no-rdoc --no-ri --version "1.5.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment