소스 검색

fix(*): ruby version was updated in .ruby-version but not Vagrant. Make them match (#1502)

master
Gavin Mogan 7 년 전
committed by Eugen
부모
커밋
c35bda0551
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      Vagrantfile

+ 4
- 4
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


불러오는 중...
취소
저장