Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr
Created April 19, 2020 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrlesmithjr/458e06751152a752f766d8180737e97f to your computer and use it in GitHub Desktop.
Save mrlesmithjr/458e06751152a752f766d8180737e97f to your computer and use it in GitHub Desktop.
brew install libiconv gcc libvirt
RV=$(/opt/vagrant/embedded/bin/ruby --version | awk '{ print $2 }'| awk '{ split($0, a, "p"); print a[1] }')
CONFIGURE_ARGS='with-ldflags=-L/opt/vagrant/embedded/lib with-libvirt-include=/usr/local/include/libvirt with-libvirt-lib=/usr/local/lib' \
GEM_HOME=~/.vagrant.d/gems/$RV \
GEM_PATH=$GEM_HOME:/opt/vagrant/embedded/gems \
PATH=/opt/vagrant/embedded/bin:$PATH \
vagrant plugin install vagrant-libvirt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment