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

参考:

https://yey.world/2021/07/03/Jekyll-安装失败解决方案/

posted @ 2024-09-14 18:22  Zenith_Hugh  阅读(47)  评论(0)    收藏  举报