Jekyll支持用户您好
我需要在Jekyll上服务这个存储库,但是我在Ubuntu 17.04终端上有这个错误
geraldo@geraldo-Dell-System-XPS-L322X:~/Documentos/activate.mozilla.community$ bundle exec jekyll serve --config ./_config-dev.yml
/var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/drops/document_drop.rb:8: warning: already initialized constant Jekyll::Drops::DocumentDrop::NESTED_OBJECT_FIELD_BLACKLIST
/usr/lib/ruby/vendor_ruby/jekyll/drops/document_drop.rb:8: warning: previous definition of NESTED_OBJECT_FIELD_BLACKLIST was here
/var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/drops/drop.rb:8: warning: already initialized constant Jekyll::Drops::Drop::NON_CONTENT_METHODS
/usr/lib/ruby/vendor_ruby/jekyll/drops/drop.rb:8: warning: previous definition of NON_CONTENT_METHODS was here
Configuration file: ./_config-dev.yml
Configuration file: ./_config-dev.yml
jekyll 3.1.6 | Error: uninitialized constant Jekyll::Filters::URLFilters有人来帮我吗?
发布于 2017-11-18 06:42:44
我遇到了这个问题,结果是我使用的是Ubuntu的Jekyll (和你一样,提供了3.1.6版本),而不是最近的版本(比如3.6.2)。使用以下命令删除jekyll:
sudo apt-get remove jekyll然后严格使用捆绑包来解决问题。也可以试试bundle update。
https://stackoverflow.com/questions/43578432
复制相似问题