diff options
author | vjackson725 <vjackson725@users.noreply.github.com> | 2017-01-08 12:38:04 +1100 |
---|---|---|
committer | vjackson725 <vjackson725@users.noreply.github.com> | 2017-01-08 12:38:04 +1100 |
commit | db3d5d811c34eb8e076e8a93e56d3729f08500f7 (patch) | |
tree | 151a08e43045918ed9ebc60a874ea129f7343d5c | |
parent | cec7e698275f7f3a8d88ddf205a0c04d6adb13cd (diff) |
Fix Vagrantfile to include yarn
The current Vagrantfile fails to build upon provisioning, as it lacks yarn. Change the Vagrantfile to add the yarn repository, and install yarn.
-rw-r--r-- | Vagrantfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile index 5041dde39..56762f679 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,6 +5,10 @@ $provision = <<SCRIPT cd /vagrant # This is where the host folder/repo is mounted +# Add the yarn repo + yarn repo keys +curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - +sudo apt-add-repository 'deb https://dl.yarnpkg.com/debian/ stable main' + # Add repo for Ruby 2.3 binaries sudo apt-add-repository ppa:brightbox/ruby-ng @@ -33,6 +37,7 @@ sudo apt-get install \ redis-tools \ postgresql \ postgresql-contrib \ + yarn \ -y # Set Ruby 2.3 as 'ruby' |