Created
July 19, 2021 10:59
-
-
Save Fizzadar/b5359d97107d18da063f11dbf79f1130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arch -x86_64 /usr/local/bin/brew install libvirt | |
# FFS, what a shitshow | |
CPATH="/opt/vagrant/embedded/include/ruby-3.0.0/ruby" \ | |
CONFIGURE_ARGS='with-ldflags="-L/opt/vagrant/embedded/lib -I/opt/vagrant/embedded/include" with-libvirt-include=/usr/local/include with-libvirt-lib=/usr/local/lib' \ | |
GEM_HOME=~/.vagrant.d/gems \ | |
GEM_PATH=$GEM_HOME:/opt/vagrant/embedded/gems \ | |
PATH=/opt/vagrant/embedded/bin:$PATH \ | |
vagrant plugin install vagrant-libvirt | |
vagrant --version | |
# Vagrant 2.2.17 | |
/opt/vagrant/embedded/bin/ruby --version | |
# ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin19] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment