aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant/bootstrap.sh')
-rw-r--r--vagrant/bootstrap.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh
index 2d2dc3d..22e8f3c 100644
--- a/vagrant/bootstrap.sh
+++ b/vagrant/bootstrap.sh
@@ -1,8 +1,10 @@
#!/bin/sh
pkg upgrade -y -q -f
-pkg install -y -q ruby rubygem-bundler postgresql93-server postgresql93-client git node sqlite3 imagemagick-nox11
+pkg install -y -q ruby rbenv ruby-build postgresql96-server postgresql96-client git node sqlite3 imagemagick-nox11
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 -R