bundle exec jekyll serve>;依赖错误:Yikes!看起来你没有';我没有jekyll commonmark网页

bundle exec jekyll serve>;依赖错误:Yikes!看起来你没有';我没有jekyll commonmark网页,jekyll,github-pages,Jekyll,Github Pages,我正在尝试运行bundle exec jekyll build,但是我得到了以下输出 Configuration file: /path/_config.yml Dependency Error: Yikes! It looks like you don't have jekyll-commonmark-ghpages or one of its dependencies installed. In order to use Jekyll as currently configured, y

我正在尝试运行
bundle exec jekyll build
,但是我得到了以下输出

Configuration file: /path/_config.yml
  Dependency Error: Yikes! It looks like you don't have jekyll-commonmark-ghpages 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 -- rouge' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/! 
jekyll 3.8.5 | Error:  jekyll-commonmark-ghpages

我正在编辑我的网站,它位于GitHub页面上。杰基尔的这个过程以前很有效,但我已经很久没有接触过了

我试图删除Gemfile.lock和bundle安装,但仍然收到相同的错误。我正在运行Kubuntu 19.04,ruby 2.5.5p157(2019-03-15修订版67260)[x86_64-linux-gnu]

我的包显示输出:

Gems included by the bundle:
  * activesupport (4.2.11.1)
  * addressable (2.6.0)
  * bundler (2.0.2)
  * coffee-script (2.4.1)
  * coffee-script-source (1.11.1)
  * colorator (1.1.0)
  * commonmarker (0.17.13)
  * concurrent-ruby (1.1.5)
  * dnsruby (1.61.2)
  * em-websocket (0.5.1)
  * ethon (0.12.0)
  * eventmachine (1.2.7)
  * execjs (2.7.0)
  * faraday (0.15.4)
  * ffi (1.11.1)
  * forwardable-extended (2.6.0)
  * gemoji (3.0.1)
  * github-pages (198)
  * github-pages-health-check (1.16.1)
  * html-pipeline (2.11.1)
  * http_parser.rb (0.6.0)
  * i18n (0.9.5)
  * jekyll (3.8.5)
  * jekyll-avatar (0.6.0)
  * jekyll-coffeescript (1.1.1)
  * jekyll-commonmark (1.3.1)
  * jekyll-commonmark-ghpages (0.1.5)
  * jekyll-default-layout (0.1.4)
  * jekyll-feed (0.11.0)
  * jekyll-gist (1.5.0)
  * jekyll-github-metadata (2.12.1)
  * jekyll-mentions (1.4.1)
  * jekyll-optional-front-matter (0.3.0)
  * jekyll-paginate (1.1.0)
  * jekyll-readme-index (0.2.0)
  * jekyll-redirect-from (0.14.0)
  * jekyll-relative-links (0.6.0)
  * jekyll-remote-theme (0.3.1)
  * jekyll-sass-converter (1.5.2)
  * jekyll-seo-tag (2.5.0)
  * jekyll-sitemap (1.2.0)
  * jekyll-swiss (0.4.0)
  * jekyll-theme-architect (0.1.1)
  * jekyll-theme-cayman (0.1.1)
  * jekyll-theme-dinky (0.1.1)
  * jekyll-theme-hacker (0.1.1)
  * jekyll-theme-leap-day (0.1.1)
  * jekyll-theme-merlot (0.1.1)
  * jekyll-theme-midnight (0.1.1)
  * jekyll-theme-minimal (0.1.1)
  * jekyll-theme-modernist (0.1.1)
  * jekyll-theme-primer (0.5.3)
  * jekyll-theme-slate (0.1.1)
  * jekyll-theme-tactile (0.1.1)
  * jekyll-theme-time-machine (0.1.1)
  * jekyll-titles-from-headings (0.5.1)
  * jekyll-watch (2.2.1)
  * jemoji (0.10.2)
  * kramdown (1.17.0)
  * liquid (4.0.0)
  * listen (3.1.5)
  * mercenary (0.3.6)
  * mini_portile2 (2.4.0)
  * minima (2.5.0)
  * minitest (5.11.3)
  * multipart-post (2.1.1)
  * nokogiri (1.10.3)
  * octokit (4.14.0)
  * pathutil (0.16.2)
  * public_suffix (3.1.1)
  * rb-fsevent (0.10.3)
  * rb-inotify (0.10.0)
  * rouge (2.2.1)
  * ruby-enum (0.7.2)
  * ruby_dep (1.5.0)
  * rubyzip (1.2.3)
  * safe_yaml (1.0.5)
  * sass (3.7.4)
  * sass-listen (4.0.0)
  * sawyer (0.8.2)
  * terminal-table (1.8.0)
  * thread_safe (0.3.6)
  * typhoeus (1.3.1)
  * tzinfo (1.2.5)
  * unicode-display_width (1.6.0)


预期结果是jekyll成功地服务于该站点,因此我可以在我的机器上本地查看它。如果您需要更多信息,请告诉我。

棘手的一点是,将与您的
gem show
进行比较,我不会发现任何问题

请尝试卸载jekyll commonmark ghpages并删除其所有版本

然后使用以下命令再次安装所有内容:

  bundle install
  bundle exec jekyll build

我也发现了这篇与相关的帖子,但这可能与你无关,因为你正在研究Kubuntu。

我不知道为什么我所做的工作奏效了,但它奏效了


我做了
gem卸载-aIx.
然后
bundle安装
,一切都备份并运行了。资料来源:。

谢谢你的帮助,克里斯蒂安,我试过了,但还是不行。