我有一个Jekyll网站,它在几天前完美运行。今天当我跑Customer
时,它已经开始抛出错误。
jekyll serve
我安装了jekyll-sitemap
gem query | grep jekyll-sitemap jekyll-sitemap (0.10.0)
如果我从Dependency Error: Yikes! It looks like you don't have jekyll-sitemap or one of its dependencies installed.
删除jekyll-sitemap并运行_config.yml
,则会抛出错误jekyll serve
未安装,也已安装。
在网上搜索的解决方案就像安装了kramdown
或kramdown
的多个版本,但我没有遇到任何此类问题。
这是我的jekyll
# Site settings title: Malabya Tewari header-img: img/home-bg.jpg email: imalabya@gmail.com copyright_name: Malabya Tewari description: "Drupal developer, Open source enthusiast, trainer, blogger from Bangalore." keywords: "Malabya Tewari, malavya, Drupal, Drupal Developer" baseurl: "" url: "http://imalabya.github.io" twitter_username: malabya88 drupal_username: malavya facebook_username: malabya88 linkedin_username: https://www.linkedin.com/in/malabyatewari # Build settings markdown: kramdown highlighter: rouge permalink: pretty paginate: 10 exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"] gems: [jekyll-paginate, jekyll-feed, jekyll-sitemap]
任何帮助都将受到赞赏,因为我是新人或杰基尔或红宝石。
答案 0 :(得分:2)
我在https://github.com/imalabya/imalabya.github.io
处接受了您的代码编辑Gemfile:
source 'https://rubygems.org'
gem "jekyll"
gem "jekyll-sitemap"
gem "jekyll-paginate"
gem "jekyll-feed"
选择bundle update
,然后选择bundle exec jekyll serve
。
一切都好。