0.安装Ruby
使用RVM安装Ruby,RVM(Ruby Version Manager)允许安装,管理多个Ruby环境。首先安装Ruby的依赖软件。
yum install install curl gcc bzip2 openssl-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel
|
导入GPG公钥,安装RVM:
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm list known
rvm install 2.7
rvm use 2.7 --default
ruby -v ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
|
1. 安装Jekyll
2.安装BYR-Navi
git clone https://github.com/BYR-Navi/BYR-Navi.git /opt/BYR-Navi
cd /opt/BYR-Navi bundle i
|