Post

【Jekyll】Install JekyllNow

【Jekyll】Install JekyllNow

1. How to Build a Personal Blog

Refer to this guide:

2. Build Steps

  • Since I cannot always code directly on the GitHub web page, I clone the repository.
  • After cloning, I need to run the server locally. Refer to the official readme.
  • Command: gem install github-pages

3. Comment System

100. Problem Records

100.1 Problem 1: Package Issues

1
2
3
ERROR:  Error installing github-pages:
        The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with `gem install drb -v 2.0.6` and then running the current command again
        drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

Unfortunately, I don’t have a definitive solution, so I tackled the issues one by one…

Some documentation:

Some commands:

1
2
3
4
5
6
7
gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/\
gem install faraday-net_http -v 3.0.2
sudo gem install faraday-net_http -v 3.0.2
sudo gem install faraday -v 2.8.1
sudo gem install drb -v 2.0.6
sudo gem install activesupport -v 6.1.7.7
sudo gem install -V github-pages
This post is licensed under CC BY 4.0 by the author.