Commit b2477180 authored by Gabriel Mazetto's avatar Gabriel Mazetto 🚀

Install recent Go and RVM from packages

Recent Go is published from the Ubuntu LXC PPA
RVM PPA is from official contributor
parent 836de054
......@@ -46,6 +46,8 @@ required_plugins.each do |plugin|
$apt_reqs = <<EOT
apt-add-repository -y ppa:rael-gc/rvm
apt-add-repository -y ppa:ubuntu-lxc/lxd-stable
apt-get update
apt-get -y install git postgresql libpq-dev phantomjs redis-server libicu-dev cmake g++ nodejs libkrb5-dev curl ruby ed golang nginx
......@@ -59,9 +61,11 @@ if [ $(id -u vagrant) != $(stat -c %u /vagrant) ]; then
sudo -u $DEV_USER -i bash -c "gpg --keyserver hkp:// --recv-keys D39DC0E3"
sudo -u $DEV_USER -i bash -c "curl -sSL | bash -s stable --ruby=2.1.6"
sudo -u $DEV_USER -i bash -c "gem install bundler"
sudo apt-get install -y rvm \
&& sudo addgroup $DEV_USER rvm \
&& sudo -u $DEV_USER -i bash -l -c "rvm install 2.1.6 \
&& rvm use 2.1.6 --default \
&& gem install bundler"
sudo chown -R $DEV_USER:$DEV_USER /home/vagrant
sudo -u $DEV_USER -i bash -c "rsync -av --exclude '.vagrant' /vagrant/ /home/vagrant/gitlab-development-kit/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment