update vagrantfile to work with latest, closes #478

This commit is contained in:
Kyle Drake 2024-01-04 02:30:03 -06:00
parent bc81646302
commit 350a7039c7
5 changed files with 28 additions and 13 deletions

View file

@ -1,7 +1,11 @@
#!/bin/bash
apt-get -y install python-software-properties
apt-add-repository -y ppa:brightbox/ruby-ng
apt-get -y update
apt-get -y install ruby2.6 ruby2.6-dev
gem install bundler --no-document
sudo apt-get -y install autoconf patch build-essential rustc libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev
wget https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz
gzip -dc ruby-3.3.0.tar.gz | tar xf -
cd ruby-3.3.0
./autogen.sh
./configure --enable-yjit --disable-install-doc
make -j && sudo make install
cd ..