启动错误

问题描述:在博客项目根目录执行bundle exec jekyll serve命令时,出现Could not find nokogiri-1.10.9-x64-mingw32 in any of the sources (Bundler::GemNotFound)错误。

出现原因:因为没有安装或更新nokogiri库

解决方案:

博客项目根目录执行bundle install命令

参考文章:Could not find nokogiri-1.7.0.1 in any of the sources

问题描述:在博客项目根目录执行bundle exec jekyll serve命令时,出现Error: Permission denied - bind(2) for 127.0.0.1:4000错误。

出现原因:有其他程序占用了4000端口

解决方案:

找到占用4000端口的应用并杀死此应用进程重新启动jekyll

参考文章:jekyll serve启动报错,error:permission denied -bind(2)