Jekyll 本地调试博客遇到的问题及解决办法
Jekyll 4.2.0 Please append --trace
to the serve
command for any additional information or backtrace.
这是因为 webrick 不再是 Ruby 3.0 中的捆绑 gem,我们需要手动添加 webrick 到 Gemfile 中作为依赖:
bundle add webrick
再次尝试在本地启动 Jekyll 服务器:
jekyll s
参考: