Jekyll的所有功能不再起作用 [英] All Jekyll's functions don't work any more

查看:72
本文介绍了Jekyll的所有功能不再起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Jekyll曾经在我的计算机上工作.但是在我尝试安装octopress之后,它不再起作用了. 我不知道问题出在哪里,但是当我在终端上尝试任何其他操作时,它将给出此输出.

Jekyll used to work on my computer. But after I tried to install octopress, it doesn't work any more. I do not know where is the problem but when I try anything else on terminal, it gives this output.

seniorokur@dell-Inspiron-5521:~/Masaüstü$ jekyll new sds
/usr/lib/ruby/vendor_ruby/jekyll/tags/highlight.rb:11: warning: already initialized constant Jekyll::Tags::HighlightBlock::SYNTAX
/var/lib/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/tags/highlight.rb:11: warning: previous definition of SYNTAX was here
/usr/lib/ruby/vendor_ruby/jekyll/tags/include.rb:16: warning: already initialized constant Jekyll::Tags::IncludeTag::VALID_SYNTAX
/var/lib/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/tags/include.rb:18: warning: previous definition of VALID_SYNTAX was here
/usr/lib/ruby/vendor_ruby/jekyll/tags/include.rb:17: warning: already initialized constant Jekyll::Tags::IncludeTag::VARIABLE_SYNTAX
/var/lib/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/tags/include.rb:19: warning: previous definition of VARIABLE_SYNTAX was here
/usr/lib/ruby/vendor_ruby/jekyll/tags/post_url.rb:4: warning: already initialized constant Jekyll::Tags::PostComparer::MATCHER
/var/lib/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/tags/post_url.rb:4: warning: previous definition of MATCHER was here
/var/lib/gems/2.1.0/gems/jekyll-2.5.3/bin/jekyll:16:in `<top (required)>': undefined method `require_from_bundler' for Jekyll::PluginManager:Class (NoMethodError)
    from /usr/local/bin/jekyll:23:in `load'
    from /usr/local/bin/jekyll:23:in `<main>'

我无法搜索解决问题的方法,因为我不知道问题出在哪里.我该怎么办?

I couldn't search something for solving the problem because I do not know what is the problem. What should I do?

推荐答案

似乎您已经通过packagemanager和gem安装了kykyll

It seems like you have installed jekyll via packagemanager and also via gem

使用以下方法卸载packagemanager版本

uninstall the packagemanager version with

sudo apt-get remove --purge jekyll

然后再次安装gem:

sudo gem install jekyll jekyll-watch

这篇关于Jekyll的所有功能不再起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆