diff options
author | Gavin Mogan <github@gavinmogan.com> | 2017-04-11 06:06:07 -0700 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-11 15:06:07 +0200 |
commit | c35bda05511dd9a1397113852ae93b5ed7942635 (patch) | |
tree | c3f03a28dc077865abdcac0c7ac7ae0605fc6573 /Vagrantfile | |
parent | a85d4473aa2a6a619fcee851c642dca576e622f6 (diff) |
fix(*): ruby version was updated in .ruby-version but not Vagrant. Make them match (#1502)
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Vagrantfile b/Vagrantfile index cd7f74473..90f604640 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -46,12 +46,12 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build export PATH="$HOME/.rbenv/bin::$PATH" eval "$(rbenv init -)" -echo "Compiling Ruby 2.3.1: warning, this takes a while!!!" -rbenv install 2.3.1 -rbenv global 2.3.1 - cd /vagrant +echo "Compiling Ruby $(cat .ruby-version): warning, this takes a while!!!" +rbenv install $(cat .ruby-version) +rbenv global $(cat .ruby-version) + # Configure database sudo -u postgres createuser -U postgres vagrant -s sudo -u postgres createdb -U postgres mastodon_development |