From c5cc9cc295d9c33debbcab38143867dcecf8137f Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 21 Jul 2023 18:07:12 -0700 Subject: [PATCH] Add required dev packages to Vagrantfile These are necessary for installing some of our gems! Note the tricky bit where we need an older OpenSSL package when building Ruby 1.9.3, but need to uninstall before `libmysqlclient-dev`, which requires a more recent version of `libssl-dev`. I thiiiink this is safe to do, but we'll find out! --- Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index bf470654..d5dd7cb6 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -74,6 +74,8 @@ Vagrant.configure("2") do |config| apt-get update apt-get install -y rbenv libssl1.0-dev su vagrant -c 'curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | rbenv install --patch 1.9.3-p551' + apt-get remove -y libssl1.0-dev + apt-get install -y libmysqlclient-dev libcurl4-openssl-dev echo 'When you log in as vagrant, run `rbenv init` and follow the instructions!' SHELL end