首页 > 代码库 > jekyll下载了模版运行出现问题cannot load such file -- jekyll-paginate (LoadError)

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)