解决本地调试Github Page报错

Github Page

Posted by xuenhua on March 23, 2020

本地调试HX Blog报错解决方法

1
2
3
4
5
 Dependency Error: Yikes! It looks like you don't have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. If you've run Jekyll with `bundle exec`, ensure that you have included the jekyll-paginate gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- jekyll-paginate' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/! 
                    ------------------------------------------------
      Jekyll 4.0.0   Please append `--trace` to the `serve` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------

修改Gemfile,添加

1
2
3
4
source "https://rubygems.org"

gem "jekyll"
gem "jekyll-paginate"