Mac下安装Jekyll

来源:互联网 发布:西安办公软件培训班 编辑:程序博客网 时间:2024/06/05 04:04

安装Gem

Gem是Ruby第三方插件管理器

安装jekyll

gem install jekyll

执行 jekyll 命令

进入工程根目录,执行命令本地启动网页
jekyll server 或 jekyll s

遇到问题:

 Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
 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. 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 3.6.2 | Error:  jekyll-paginate

解决:
gem install jekyll-paginate


原创粉丝点击