Created
June 27, 2015 13:09
-
-
Save nonsequitur/71cb9968c5b91ab2facd 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
# -*- mode: ruby -*- | |
$build_nokogiri = <<SCRIPT | |
apt-get update | |
apt-get -y install docker.io | |
apt-get -y install bundler | |
gem install rake-compiler-dock | |
cd | |
git clone https://github.com/larskanis/nokogiri | |
cd nokogiri | |
git checkout make-use-of-rake-compiler-dock | |
bundle | |
rake gem:windows | |
cp /root/nokogiri/pkg/*.gem /vagrant | |
SCRIPT | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provision "shell", inline: $build_nokogiri | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment