我无法启动服务器-jekyll

问题描述 投票:1回答:1

依赖性错误:Error!看来您没有jekyll-multiple-languages-plugin或其依赖项之一。为了使用当前配置的Jekyll,您需要安装此gem。如果您已使用bundle exec运行Jekyll,请确保在Gemfile中也包含jekyll-multiple-languages-plugin gem。来自Ruby的完整错误消息是:“由于jekyll-4.0.0与jekyll(<4.0,> = 2.0)冲突,因此无法激活jekyll-multiple-languages-plugin-1.6.0”如果遇到麻烦,您可以在https://jekyllrb.com/help/中找到有用的资源!

怎么办?如果我使用:

$ jekyll build --trace配置文件:/home/user/s/villaanna/_config.yml相关性错误:kes!看来您没有jekyll-multiple-languages-plugin或其依赖项之一。为了使用当前配置的Jekyll,您需要安装此gem。如果您已使用bundle exec运行Jekyll,请确保在Gemfile中也包含jekyll-multiple-languages-plugin gem。来自Ruby的完整错误消息是:“由于jekyll-4.0.0与jekyll(<4.0,> = 2.0)冲突,因此无法激活jekyll-multiple-languages-plugin-1.6.0”如果遇到麻烦,您可以在https://jekyllrb.com/help/中找到有用的资源!追溯(最近一次通话):21:来自/ home / user / gems / bin / jekyll:23:in<main>' 20: from /home/user/gems/bin/jekyll:23:inload'19:来自/home/user/gems/gems/jekyll-4.0.0/exe/jekyll:15:位于<top (required)>' 18: from /home/user/gems/gems/mercenary-0.3.6/lib/mercenary.rb:19:in program'中17:来自/home/user/gems/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:在go' 16: from /home/user/gems/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in中执行'15:来自/home/user/gems/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:ineach' 14: from /home/user/gems/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:inblock in execute'13:来自/home/user/gems/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:18:在block (2 levels) in init_with_program' 12: from /home/user/gems/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in process_with_graceful_fail'中11:从/home/user/gems/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:在process_with_graceful_fail的each' 10: from /home/user/gems/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in块中9:来自/home/user/gems/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:30:process' 8: from /home/user/gems/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:30:in中的新7:来自/home/user/gems/gems/jekyll-4.0.0/lib/jekyll/site.rb:34:ininitialize' 6: from /home/user/gems/gems/jekyll-4.0.0/lib/jekyll/site.rb:124:insetup'5:来自/home/user/gems/gems/jekyll-4.0.0/lib/jekyll/plugin_manager.rb:22:位于conscientious_require' 4: from /home/user/gems/gems/jekyll-4.0.0/lib/jekyll/plugin_manager.rb:30:in require_gems'3:来自/home/user/gems/gems/jekyll-4.0.0/lib/jekyll/external.rb:57:inrequire_with_graceful_fail' 2: from /home/user/gems/gems/jekyll-4.0.0/lib/jekyll/external.rb:57:ineach'1:来自/home/user/gems/gems/jekyll-4.0.0/lib/jekyll/external.rb:58:在block in require_with_graceful_fail' /home/user/gems/gems/jekyll-4.0.0/lib/jekyll/external.rb:73:in中在require_with_graceful_fail中的块中进行救援':jekyll-multiple-languages-plugin(Jekyll ::错误:: MissingDependencyException)

事实上,我安装了“ jekyll-multiple-languages-plugin”我不明白是什么问题我的宝石清单:

$宝石清单

*本地宝石*

可寻址(2.7.0)bigdecimal(默认值:1.3.4)捆绑包(0.0.1)捆绑器(2.0.2)cmath(默认值:1.0.0)着色器(1.1.0)并发红宝石(1.1.5)csv(预设值:1.0.0)日期(默认值:1.0.0)dbm(默认值:1.0.0)did_you_mean(1.2.0)em-websocket(0.5.1)等等(预设值:1.0.0)事件机器(1.2.7)fcntl(默认:1.0.0)ffi(1.11.1)小提琴(默认:1.0.0)fileutils(默认值:1.0.2)可转发扩展(2.6.0)gdbm(默认值:2.0.0)http_parser.rb(0.6.0)i18n(1.7.0,0.9.5)io-console(默认值:0.4.6)ipaddr(默认:1.2.0)jekyll(4.0.0,3.8.6)jekyll-multiple-languages-plugin(1.6.0)jekyll-sass-converter(2.0.1,1.5.2)jekyll-watch(2.2.1)json(预设:2.1.0)kramdown(2.1.0,1.17.0)kramdown-parser-gfm(1.1.0)液体(4.0.3)听(3.2.0)雇佣兵(0.3.6)最小测试(5.10.3)网络远程登录(0.1.1)openssl(默认:2.1.1)pathutil(0.16.2)power_assert(0.2.7)心理(默认值:3.0.2)public_suffix(4.0.1)耙子(12.3.1)rb-fsevent(0.10.3)rb-inotify(0.10.0)rdoc(默认:6.0.1)胭脂(3.12.0)safe_yaml(1.0.5)无礼(3.7.4)萨斯(4.0.0)SASSC(2.2.1)scanf(默认值:1.0.0)sdbm(默认:1.0.0)字符串(默认:0.0.1)strscan(默认:1.0.0)终端表(1.8.0)测试单元(3.2.5)unicode-display_width(1.6.0)webrick(默认:1.4.2)zlib(默认:1.0.0)

node.js gulp jekyll
1个回答
0
投票

您需要按照错误所述安装jekyll-mulitple-languages-plugin gem,并将该gem添加到您的Gemfile中。完成此操作后,您需要使用“ bundle exec jekyll serve”来运行Jekyll。该过程的哪一部分让您感到困惑?

© www.soinside.com 2019 - 2024. All rights reserved.