Fix issue with line return in file (#1947)

Fix #1940
main
Naouak 2017-04-21 20:07:47 +02:00 committed by Eugen
parent 5abd543766
commit af7d02da5d
1 changed files with 4 additions and 3 deletions

7
Vagrantfile vendored
View File

@ -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