错误:`require':无法加载此类文件 - jemoji(LoadError)

时间:2016-05-06 20:28:19

标签: ruby jekyll

我第一次使用jekyll。 我从here下载了源代码。当我运行构建并使用jekyll运行该站点时,它运行良好。现在我从这里下载了personal theme。导航到下载的主题文件夹,然后构建新主题不起作用。我收到以下错误:

Configuration file: /home/repos/sites/personal-jekyll-theme/_config.yml
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jemoji (LoadError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/jekyll/plugin_manager.rb:28:in `block in require_gems'
from /usr/lib/ruby/vendor_ruby/jekyll/plugin_manager.rb:26:in `each'
from /usr/lib/ruby/vendor_ruby/jekyll/plugin_manager.rb:26:in `require_gems'
from /usr/lib/ruby/vendor_ruby/jekyll/plugin_manager.rb:19:in `conscientious_require'
from /usr/lib/ruby/vendor_ruby/jekyll/site.rb:71:in `setup'
from /usr/lib/ruby/vendor_ruby/jekyll/site.rb:33:in `initialize'
from /usr/lib/ruby/vendor_ruby/jekyll/commands/build.rb:28:in `new'
from /usr/lib/ruby/vendor_ruby/jekyll/commands/build.rb:28:in `process'
from /usr/lib/ruby/vendor_ruby/jekyll/commands/build.rb:17:in `block (2 levels) in init_with_program'
from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `call'
from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `block in execute'
from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `each'
from /usr/lib/ruby/vendor_ruby/mercenary/command.rb:220:in `execute'
from /usr/lib/ruby/vendor_ruby/mercenary/program.rb:42:in `go'
from /usr/lib/ruby/vendor_ruby/mercenary.rb:19:in `program'
from /usr/bin/jekyll:18:in `<main>'

Ruby Verison:ruby 2.1.5p273(2014-11-13)[x86_64-linux-gnu]

Jekyll版本:jekyll 2.2.0

如果可能,请告诉我在哪里以及我做错了什么。是否有一些规则表明我可以在本地只构建一条规则?据我搜索,我尝试更改config.yml中的端口号,并尝试构建不同的站点,并指定其各自的配置文件。 jekyll仍然没有构建并给出相同的错误。感谢您的帮助。

我也得到jekyll-feed Load Error

的错误

1 个答案:

答案 0 :(得分:0)

上述问题已按照自述文件中的说明并运行./scripts/install解决。

感谢@Jordan的帮助。

相关问题