diff options
Diffstat (limited to 'script/bootstrap.sh')
| -rw-r--r-- | script/bootstrap.sh | 10 |
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 |
