jekyll下载了模版运行出现问题cannot load such file -- jekyll-paginate (LoadError)
Posted 金在峰
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jekyll下载了模版运行出现问题cannot load such file -- jekyll-paginate (LoadError)相关的知识,希望对你有一定的参考价值。
E:\LessOrMore>jekyll server
Configuration file: E:/LessOrMore/_config.yml
C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require‘: cannot load such file -- jekyll-paginate (LoadError)
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:30:in `block in require_gems‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:27:in `each‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:27:in `require_gems‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:19:in `conscientious_require‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/site.rb:97:in `setup‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/site.rb:49:in `initialize‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/commands/build.rb:30:in `new‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/commands/build.rb:30:in `process‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/lib/jekyll/commands/serve.rb:26:in `block (2 levels) in init_with_program‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program‘
from C:/work/Ruby23-x64/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jekyll-3.0.0/bin/jekyll:17:in `<top (required)>‘
from C:/work/Ruby23-x64/Ruby23-x64/bin/jekyll:22:in `load‘
from C:/work/Ruby23-x64/Ruby23-x64/bin/jekyll:22:in `<main>‘
解决方案
sudo gem install jekyll-paginate
以上是关于jekyll下载了模版运行出现问题cannot load such file -- jekyll-paginate (LoadError)的主要内容,如果未能解决你的问题,请参考以下文章
linux wget下载文件出现 Cannot write to ‘文件名’ (Success).的问题
解决Error: Cannot find module 'node-sass'问题
电脑中VS提示The NET CLI tools cannot be located怎么解决