aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/bootstrap.sh
blob: 32051cf7c351fb161fdf46761cacc8330724cb3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
pkg upgrade -y -q -f
pkg install -y -q ruby rbenv ruby-build postgresql96-server postgresql96-client git node sqlite3 ImageMagick6-nox11 bash

echo 'postgresql_enable="YES"' >> /etc/rc.conf
echo 'eval "$(rbenv init -)"' >> /home/vagrant/.bash_profile
chsh -s /usr/local/bin/bash vagrant

service postgresql initdb
service postgresql start