summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorJon Cairns <jon@joncairns.com>2015-08-24 12:49:32 +0100
committerJon Cairns <jon@joncairns.com>2015-08-24 12:49:32 +0100
commit0354408bd413006734d0bef9b6e1d9e8506c144e (patch)
tree0209c76bc734e6c3fdcce2fe3dc1f38d66eec907 /bootstrap.sh
parent7d0844c480d91571ffdf5953d0f728bf7cd71b32 (diff)
downloadvdebug-0354408bd413006734d0bef9b6e1d9e8506c144e.zip
Update bootstrap to install bundler and run bundle install
Diffstat (limited to 'bootstrap.sh')
-rw-r--r--bootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 58f6bba..b5c6e1f 100644
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -23,6 +23,7 @@ apt-get install locales-all git-core vim vim-nox php5 php5-cli php5-xdebug -y
# Install ruby (http://blog.packager.io/post/101342252191/one-liner-to-get-a-precompiled-ruby-on-your-own)
curl -s https://s3.amazonaws.com/pkgr-buildpack-ruby/current/debian-7/ruby-2.1.5.tgz -o - | sudo tar xzf - -C /usr/local
+gem install bundler
cat <<'EOF' >> /etc/php5/conf.d/*-xdebug.ini
xdebug.remote_enable=on
@@ -113,4 +114,6 @@ sudo -u vagrant bash << EOF
mkdir -p /home/vagrant/.vim-tmp /home/vagrant/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
git clone https://github.com/joonty/vdebug.git ~/.vim/bundle/vdebug
+cd /vagrant
+bundle install
EOF