-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.sh
More file actions
29 lines (19 loc) · 738 Bytes
/
bootstrap.sh
File metadata and controls
29 lines (19 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
echo updating package information
apt-add-repository -y ppa:brightbox/ruby-ng >/dev/null 2>&1
apt-get -y update >/dev/null 2>&1
sudo apt-get install build-essential
sudo apt-get install ruby2.2 ruby2.2-dev
update-alternatives --set ruby /usr/bin/ruby2.2 >/dev/null 2>&1
update-alternatives --set gem /usr/bin/gem2.2 >/dev/null 2>&1
echo installing Bundler
gem install bundler -N >/dev/null 2>&1
sudo apt-get install git
sudo apt-get install nodejs
sudo apt-get install npm
# Needed for docs generation.
update-locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8
cd /vagrant
#This file is supposed to be at the root according to go .___.
cp ./vagrant_ansible_inventory_default ../
./go init
echo 'all set, rock on!'