Created
June 27, 2015 13:03
-
-
Save nonsequitur/2150c21f1ef7fa8eeb6d 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/nokogiri-1.6.6.2-x86-mingw32.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