From 68705864997cc05223870b8192bfb9fc86bd2d3b Mon Sep 17 00:00:00 2001 From: Naouak Date: Fri, 21 Apr 2017 20:07:47 +0200 Subject: [PATCH] Fix issue with line return in file (#1947) Fix #1940 --- Vagrantfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 9047037bc9..c85db9205e 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