Skip to content

Commit

Permalink
[Truffle] Adding build tools to vagrant bootstrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed May 16, 2015
1 parent 5c1ee15 commit 7db5522
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tool/truffle/vagrant_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,25 @@
# VAGRANT_VAGRANTFILE=tool/truffle/Vagrantfile vagrant provision
# which will run the script again on the running vm
#
# If you need to make an update to this script on a brand new vm, run:
# If you need to make an update to this script, run:
# VAGRANT_VAGRANTFILE=tool/truffle/Vagrantfile vagrant reload
# This is like running vagrant halt, vagrant up
#
# Delete the vm
# VAGRANT_VAGRANTFILE=tool/truffle/Vagrantfile vagrant destroy
#

# Install jdk-7
sudo apt-get update
sudo apt-get install -y openjdk-7-jdk
sudo apt-get install -y 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 ncurses-dev automake libtool bison nodejs subversion

echo "Downloading and installing ruby-install and ruby-1.9.3"
wget -O ruby-install-0.5.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.5.0.tar.gz
tar -xzvf ruby-install-0.5.0.tar.gz
cd ruby-install-0.5.0/
sudo make install
ruby-install --system ruby 1.9.3
sudo ruby-install --system ruby 1.9.3

echo "Downloading and installing maven 3.2.5"
wget -q http://apache.osuosl.org/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
Expand Down

0 comments on commit 7db5522

Please sign in to comment.