|
|
@ -48,9 +48,10 @@ eval "$(rbenv init -)" |
|
|
|
|
|
|
|
|
|
|
|
cd /vagrant |
|
|
|
cd /vagrant |
|
|
|
|
|
|
|
|
|
|
|
echo "Compiling Ruby $(cat .ruby-version): warning, this takes a while!!!" |
|
|
|
read RUBY_VERSION < .ruby-version |
|
|
|
rbenv install $(cat .ruby-version) |
|
|
|
echo "Compiling Ruby $RUBY_VERSION: warning, this takes a while!!!" |
|
|
|
rbenv global $(cat .ruby-version) |
|
|
|
rbenv install $RUBY_VERSION |
|
|
|
|
|
|
|
rbenv global $RUBY_VERSION |
|
|
|
|
|
|
|
|
|
|
|
# Configure database |
|
|
|
# Configure database |
|
|
|
sudo -u postgres createuser -U postgres vagrant -s |
|
|
|
sudo -u postgres createuser -U postgres vagrant -s |
|
|
|