summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-05-12 16:22:40 -0600
committermo khan <mo@mokhan.ca>2013-05-12 16:22:40 -0600
commit0a6965c89b9562bc983df8aec99a53ee151007da (patch)
treeec66569ea3e2615a98c37a541f365af94d979481
parent3fc444792ebff667aa3771b83d1b2107966c5b4c (diff)
install postgres dev package and nodejs
-rw-r--r--script/bootstrap-vagrant.sh3
-rw-r--r--script/bootstrap.sh4
2 files changed, 6 insertions, 1 deletions
diff --git a/script/bootstrap-vagrant.sh b/script/bootstrap-vagrant.sh
index aaac3238..be2f90cf 100644
--- a/script/bootstrap-vagrant.sh
+++ b/script/bootstrap-vagrant.sh
@@ -16,3 +16,6 @@ rvm use 2.0.0 --default
source /home/vagrant/.bashrc
source /home/vagrant/.bash_profile
source /home/vagrant/.profile
+
+cd /vagrant
+bundle install
diff --git a/script/bootstrap.sh b/script/bootstrap.sh
index 7847c458..70a399ed 100644
--- a/script/bootstrap.sh
+++ b/script/bootstrap.sh
@@ -4,7 +4,9 @@ apt-get update
apt-get install -y nginx
apt-get install -y imagemagick
apt-get install -y postgresql-9.1
-apt-get install -y bash curl git patch bzip2 build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev libcurl3-dev imagemagick libmagickwand-dev libpcre3-dev
+apt-get install -y nodejs
+apt-get install -y npm
+apt-get install -y bash curl git patch bzip2 build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev libcurl3-dev imagemagick libmagickwand-dev libpcre3-dev libpq-dev
su -c 'bash /vagrant/script/bootstrap-vagrant.sh' vagrant
\curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby