Fix setup script

ruby-build plugin installation missing on linux
This commit is contained in:
Youngkyun Kim 2017-12-30 12:33:04 +09:00
parent 7454b9db1f
commit 3b40fe92c1
No known key found for this signature in database
GPG Key ID: 07AB560C7F798018
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ case "$(uname -s)" in
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
fi
rbenv install 2.3.3
rbenv local 2.3.3