【发布时间】:2016-06-23 05:44:45
【问题描述】:
我目前是 Jekyll(以及 Ruby)的初学者,我正在 GitHub 上尝试 GitHub Pages 博客。这是页面:http://nobodykid.github.io/ 和 repo https://github.com/nobodykid/nobodykid.github.io
我已经成功安装了 Ruby 和 Jekyll。我还按照https://help.github.com/articles/setting-up-your-pages-site-locally-with-jekyll 中的说明安装了GitHub-pages Gem
当我第一次尝试Jekyll serve 在本地查看时。我收到了这个错误
cannot load such file -- kramdown
当我尝试bundle exec Jekyll serve 时,网站生成成功。但有了这条消息:
Please add the following to your Gemfile to avoid polling for changes
gem 'wdm', '>=0.1.0 if Gem.win_platform?
当我尝试发布新帖子并将所有内容发布到我的存储库中时,只有 Jekyll 的第一个示例帖子显示。我创建的帖子没有显示,即使我可以看到它在本地使用bundle exec Jekyll serve 生成。
我是不是在某个地方做错了什么?感谢您的任何帮助
【问题讨论】:
标签: github jekyll github-pages