Hi, I got this errors:
D:\Jekyll\ga_blog>bundle exec jekyll serve --trace
c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/document_drop.rb:8: warning: already initialized constant Jekyll::Drops::DocumentDrop::NESTED_OBJECT_FIELD_BLACKLIST
c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/document_drop.rb:8: warning: previous definition of NESTED_OBJECT_FIELD_BLACKLIST was here
c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/drop.rb:8: warning: already initialized constant Jekyll::Drops::Drop::NON_CONTENT_METHODS
c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/drop.rb:8: warning: previous definition of NON_CONTENT_METHODS was here
Configuration file: D:/Jekyll/ga_blog/_config.yml
Source: D:/Jekyll/ga_blog
Destination: D:/Jekyll/ga_blog/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
Liquid Exception: cannot load such file -- c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge/lexers/c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge/lexers/abap.rb in D:/Jekyll/ga_blog/_posts/2019-12-04-welcome-to-jekyll.markdown
Traceback (most recent call last):
46: from C:/Ruby26-x64/bin/jekyll:23:in `<main>'
45: from C:/Ruby26-x64/bin/jekyll:23:in `load'
44: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/exe/jekyll:15:in `<top (required)>'
43: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
42: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
41: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
40: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
39: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
38: from c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
37: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
36: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `each'
35: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
34: from c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:36:in `process'
33: from c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:65:in `build'
32: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:28:in `process_site'
31: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:76:in `process'
30: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:201:in `render'
29: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:507:in `render_docs'
28: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:507:in `each_value'
27: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:508:in `block in render_docs'
26: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:508:in `each'
25: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:509:in `block (2 levels) in render_docs'
24: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:523:in `render_regenerated'
23: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/renderer.rb:63:in `run'
22: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/renderer.rb:80:in `render_document'
21: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/renderer.rb:127:in `render_liquid'
20: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:32:in `render!'
19: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:60:in `measure_time'
18: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:33:in `block in render!'
17: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:53:in `measure_bytes'
16: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:34:in `block (2 levels) in render!'
15: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:49:in `measure_counts'
14: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:35:in `block (3 levels) in render!'
13: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
12: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
11: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
10: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
9: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:82:in `render'
8: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
7: from c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/tags/highlight.rb:41:in `render'
6: from c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/tags/highlight.rb:82:in `render_rouge'
5: from c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/tags/highlight.rb:82:in `require'
4: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge.rb:55:in `<top (required)>'
3: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge.rb:55:in `each'
2: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge.rb:55:in `block in <top (required)>'
1: from c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge/lexer.rb:512:in `load_lexer'
c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge/lexer.rb:512:in `load': cannot load such file -- c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge/lexers/c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rouge-3.13.0/lib/rouge/lexers/abap.rb (LoadError)
I’m on windows 10, so this solution: SOLVED --Fatal Error building sites on one particular computer (does not really help since I didn’t use apt-get)
Something else: how do you uninstall jekyll on windows10?
C:\Windows\system32>ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x64-mingw32]
C:\Windows\system32>gem -v
3.0.3
C:\Windows\system32>jekyll -v
c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/document_drop.rb:8: warning: already initialized constant Jekyll::Drops::DocumentDrop::NESTED_OBJECT_FIELD_BLACKLIST
c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/document_drop.rb:8: warning: previous definition of NESTED_OBJECT_FIELD_BLACKLIST was here
c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/drop.rb:8: warning: already initialized constant Jekyll::Drops::Drop::NON_CONTENT_METHODS
c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/drops/drop.rb:8: warning: previous definition of NON_CONTENT_METHODS was here
jekyll 4.0.0
Thanks