summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-10-28 21:17:53 -0600
committermo khan <mo@mokhan.ca>2014-10-28 21:17:53 -0600
commit0b38e66a9dd3208bf4fe9eab23b2cc8bcae4341f (patch)
tree312ac5471f922ec2be579aa774ae6ddfbf321e49 /script
parentd9e35835cb189fb3c1d677a15b54f650882bcb8a (diff)
update vagrant stuff.
Diffstat (limited to 'script')
-rw-r--r--script/bootstrap.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/script/bootstrap.sh b/script/bootstrap.sh
index 9a8a35f7..f71edc3b 100644
--- a/script/bootstrap.sh
+++ b/script/bootstrap.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
apt-get update -y
+apt-get upgrade -y
apt-get -y install curl git-core python-software-properties imagemagick libmagickwand-dev memcached
apt-get -y install build-essential
apt-get -y install tklib
@@ -17,7 +18,7 @@ apt-get -y update
apt-get -y install nginx
add-apt-repository -y ppa:pitti/postgresql
apt-get -y update
-apt-get -y install postgresql-9.2 libpq-dev
+apt-get -y install postgresql-9.3 libpq-dev
add-apt-repository -y ppa:chris-lea/node.js
apt-get -y update
apt-get -y install nodejs
@@ -30,3 +31,10 @@ apt-get -y install zlib1g-dev libssl-dev
apt-get -y install libreadline-gplv2-dev
# Install some nokogiri dependencies:
apt-get -y install libxml2 libxml2-dev libxslt1-dev
+
+git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
+echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
+echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
+source ~/.bash_profile
+git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
+rbenv install 2.1.3