Update Vagrantfile to Ubuntu 18.04 (#1158)

* Slate 2.4 breaks vagrant

* Update Vagrantfile

* Update Vagrantfile
This commit is contained in:
Brad Thurber
2019-10-31 08:16:12 -04:00
committed by Matthew Peveler
parent e3d77f11e0
commit 1be12d2027

7
Vagrantfile vendored
View File

@@ -1,5 +1,5 @@
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box = "ubuntu/bionic64"
config.vm.network :forwarded_port, guest: 4567, host: 4567
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
@@ -8,12 +8,11 @@ Vagrant.configure(2) do |config|
config.vm.provision "bootstrap",
type: "shell",
inline: <<-SHELL
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install -yq ruby2.4 ruby2.4-dev
sudo apt-get install -yq ruby ruby-dev
sudo apt-get install -yq pkg-config build-essential nodejs git libxml2-dev libxslt-dev
sudo apt-get autoremove -yq
gem2.4 install --no-ri --no-rdoc bundler
gem install --no-ri --no-rdoc bundler
SHELL
# add the local user git config to the vm