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!
This commit is contained in:
parent
4da4f40c82
commit
c5cc9cc295
1 changed files with 2 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -74,6 +74,8 @@ Vagrant.configure("2") do |config|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y rbenv libssl1.0-dev
|
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'
|
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!'
|
echo 'When you log in as vagrant, run `rbenv init` and follow the instructions!'
|
||||||
SHELL
|
SHELL
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue