Jekyll 未满足的依赖项
Jekyll unmet dependencies
我有一个 Jekyll 网站,几天前 运行 宁完美。今天当我 运行 jekyll serve
它开始抛出错误。
Dependency Error: Yikes! It looks like you don't have jekyll-sitemap or one of its dependencies installed.
我安装了 jekyll-sitemap
gem query | grep jekyll-sitemap
jekyll-sitemap (0.10.0)
如果我从 _config.yml
和 运行 jekyll serve
中删除 jekyll-sitemap 然后它抛出一个错误 kramdown
未安装,它也已安装。
在网上搜索有解决方案,比如他们安装了多个版本的 kramdown
或 jekyll
,但我没有遇到任何此类问题。
这是我的 _config.yml
# 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]
任何帮助将不胜感激,因为我是新手或 Jekyll 或 ruby。
我在 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
.
一切正常
我有一个 Jekyll 网站,几天前 运行 宁完美。今天当我 运行 jekyll serve
它开始抛出错误。
Dependency Error: Yikes! It looks like you don't have jekyll-sitemap or one of its dependencies installed.
我安装了 jekyll-sitemap
gem query | grep jekyll-sitemap jekyll-sitemap (0.10.0)
如果我从 _config.yml
和 运行 jekyll serve
中删除 jekyll-sitemap 然后它抛出一个错误 kramdown
未安装,它也已安装。
在网上搜索有解决方案,比如他们安装了多个版本的 kramdown
或 jekyll
,但我没有遇到任何此类问题。
这是我的 _config.yml
# 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]
任何帮助将不胜感激,因为我是新手或 Jekyll 或 ruby。
我在 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
.
一切正常