Add setup logs

This commit is contained in:
KMY 2023-09-18 08:23:06 +09:00
parent 37664ef3eb
commit 60e3611c73
4 changed files with 128 additions and 12 deletions

View file

@ -1,5 +1,12 @@
cd ~/live
cat << EOF
================== [kmyblue setup script 2] ======================
Checkout tag on kmyblue repository
EOF
# kmyblueの最新タグを取り込む
if [ "$1" == "debug" ]; then
echo 'DEBUG'
@ -10,6 +17,13 @@ else
git checkout $(git tag -l | grep -E '^kb[0-9].*lts$' | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
fi
cat << EOF
================== [kmyblue setup script 2] ======================
Install rbenv to control Ruby versions
EOF
# Rubyバージョン管理用のrbenvをインストール、初期設定
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
cd ~/.rbenv && src/configure && make -C src