about summary refs log tree commit diff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorNaouak <tardiel@gmail.com>2017-04-21 20:07:47 +0200
committerEugen <eugen@zeonfederated.com>2017-04-21 20:07:47 +0200
commitaf7d02da5d2ec014fb87765b65b23d7b3ed6c90c (patch)
treee74db85a8fd035f60bb2360802621f9664915731 /Vagrantfile
parent5abd5437665a9453feaf16c45960483add802378 (diff)
Fix issue with line return in file (#1947)
Fix #1940
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 9047037bc..c85db9205 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -48,9 +48,10 @@ eval "$(rbenv init -)"
 
 cd /vagrant
 
-echo "Compiling Ruby $(cat .ruby-version): warning, this takes a while!!!"
-rbenv install $(cat .ruby-version)
-rbenv global $(cat .ruby-version)
+read RUBY_VERSION < .ruby-version
+echo "Compiling Ruby $RUBY_VERSION: warning, this takes a while!!!"
+rbenv install $RUBY_VERSION
+rbenv global $RUBY_VERSION
 
 # Configure database
 sudo -u postgres createuser -U postgres vagrant -s