# Fatal error creating first jekyll site

**URL:** <https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667>\
**Category:** Help\
**Created:** [December 4, 2019, 6:58pm UTC](https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667 "2019-12-04T18:58:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tonterias](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/tonterias/32/2099_2.png) [@Tonterias](https://talk.jekyllrb.com/u/Tonterias)\
**Post date:** [December 4, 2019, 6:58pm UTC](https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667/1 "2019-12-04T18:58:53Z")

</div>

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](https://talk.jekyllrb.com/t/solved-fatal-error-building-sites-on-one-particular-computer/495) (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

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [December 4, 2019, 7:44pm UTC](https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667/2 "2019-12-04T19:44:17Z")

</div>

Can you post the output for `gem env` and `gem list jekyll` …?  
Do you have any plugins in your source directory? ( `D:/Jekyll/ga_blog` )

---

<div class="post-metadata">

**Author:** ![Tonterias](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/tonterias/32/2099_2.png) [@Tonterias](https://talk.jekyllrb.com/u/Tonterias)\
**Post date:** [December 4, 2019, 7:48pm UTC](https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667/3 "2019-12-04T19:48:05Z")

</div>

Sure, thanks

```
D:\Jekyll\ga_blog>gem env
RubyGems Environment:

```

- RUBYGEMS VERSION: 3.0.3
- RUBY VERSION: 2.6.5 (2019-10-01 patchlevel 114) [x64-mingw32]
- INSTALLATION DIRECTORY: c:/ruby26-x64/lib/ruby/gems/2.6.0
- USER INSTALLATION DIRECTORY: C:/Users/masua/Documents/.gem/ruby/2.6.0
- RUBY EXECUTABLE: c:/ruby26-x64/bin/ruby.exe
- GIT EXECUTABLE: C:\Program Files\Git\cmd/git.EXE
- EXECUTABLE DIRECTORY: c:/ruby26-x64/bin
- SPEC CACHE DIRECTORY: C:/Users/masua/Documents/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: C:/ProgramData
- RUBYGEMS PLATFORMS:
  - ruby
  - x64-mingw32

- GEM PATHS:
  - c:/ruby26-x64/lib/ruby/gems/2.6.0
  - C:/Users/masua/Documents/.gem/ruby/2.6.0
  - GEM CONFIGURATION:
  - :update\_sources =\> true
  - :verbose =\> true
  - :backtrace =\> false
  - :bulk\_threshold =\> 1000
  - REMOTE SOURCES:
  - [https://rubygems.org/](https://rubygems.org/)

- SHELL PATH:
  - C:\Program Files (x86)\ActiveState Komodo Edit 11\
  - C:\Windows\system32
  - C:\Windows
  - C:\Windows\System32\Wbem
  - C:\Windows\System32\WindowsPowerShell\v1.0\
  - C:\Windows\System32\OpenSSH\
  - C:\Program Files\Git\cmd
  - C:\cygwin64\bin
  - C:\Program Files\Java\jdk-11.0.5\bin
  - C:\Program Files\nodejs\
  - C:\Program Files\MySQL\MySQL Shell 8.0\bin\
  - C:\Ruby26-x64\bin
  - C:\Users\masua\AppData\Local\Microsoft\WindowsApps
  - C:\Users\masua\AppData\Local\GitHubDesktop\bin
  - C:\Users\masua\AppData\Local\Programs\Microsoft VS Code\bin
  - C:\Users\masua\AppData\Roaming\npm
  - C:\ProgramData\masua\atom\bin
  - C:\Program Files\heroku\bin

and D:\Jekyll\ga\_blog\>gem list jekyll

```
***LOCAL GEMS***

jekyll (4.0.0)
jekyll-feed (0.13.0)
jekyll-sass-converter (2.0.1)
jekyll-seo-tag (2.6.1)
jekyll-watch (2.2.1)

```

Do you have any plugins in your source directory? ( `D:/Jekyll/ga_blog` ) I do not think so. I just generated a new project so nothing that is automatically generated is there

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [December 4, 2019, 8:12pm UTC](https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667/4 "2019-12-04T20:12:22Z")

</div>

There seems to be two separate directories here:

- `c:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/`
- `c:/ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/`

Windows is case-insensitive. So not sure how this happened…  
Either ways, the `gem` program is mapped to look into just `c:/ruby26-x64/lib/ruby/gems/2.6.0`. So if you can manually delete **`c:/Ruby26-x64/lib/ruby/gems/2.6.0`** (_Notice the Capital R_), things might work as expected…

Are you sure you did not do multiple installations of Ruby / Jekyll…?

---

<div class="post-metadata">

**Author:** ![Tonterias](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/tonterias/32/2099_2.png) [@Tonterias](https://talk.jekyllrb.com/u/Tonterias)\
**Post date:** [December 4, 2019, 8:37pm UTC](https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667/5 "2019-12-04T20:37:36Z")

</div>

Thanks.

I change the c:/Ruby26-x64 for c:/ruby26-x64 and it works.

Sitll my question of **How do you uninstall jekyll on windows10? I cannot find any web that explains that!** is there for anyone.

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [December 5, 2019, 4:14am UTC](https://talk.jekyllrb.com/t/fatal-error-creating-first-jekyll-site/3667/6 "2019-12-05T04:14:46Z")

</div>

`gem uninstall jekyll`
