Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 593 Bytes

note.md

File metadata and controls

29 lines (23 loc) · 593 Bytes
bundle config mirror.https://rubygems.org https://mirrors.ustc.edu.cn/rubygems/
# arch
yay -S ruby-build rbenv

# mac
brew install rbenv ruby-build

# Load rbenv automatically by appending
# the following to ~/.zshrc:
eval "$(rbenv init -)"

rbenv install 2.7.3
rbenv local
gem install bundler
bundle install
bundle exec jekyll serve

# alpine
sudo sed -i 's#dl-cdn.alpinelinux.org#mirrors.ustc.edu.cn#g' /etc/apk/repositories
apk add ruby ruby-dev ruby-bundler gcc g++ make zlib-dev
bundle config set --local path 'vendor/bundle'
bundle install
bundle exec jekyll serve