# Jekyll Installation Error on Windows 10

**URL:** <https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747>\
**Category:** Help\
**Created:** [December 30, 2019, 9:21am UTC](https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747 "2019-12-30T09:21:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![padmanabhgalgali](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/padmanabhgalgali/32/2142_2.png) [@padmanabhgalgali](https://talk.jekyllrb.com/u/padmanabhgalgali)\
**Post date:** [December 30, 2019, 9:21am UTC](https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747/1 "2019-12-30T09:21:59Z")

</div>

Error log: [https://pastebin.com/raw/SfeEs5wC](https://pastebin.com/raw/SfeEs5wC)

Windows 10  
ruby 2.6.3p62 (2019-04-16 revision 67580) [x64-mingw32]  
Bundler version 2.1.2  
Gem 3.1.2

Traceback (most recent call last):

```
    13: from C:/Ruby26-x64/bin/jekyll:23:in `<main>'
    12: from C:/Ruby26-x64/bin/jekyll:23:in `load'
    11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/exe/jekyll:8:in `<top (required)>'
    10: from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:72:in `require'
     9: from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:72:in `require'
     8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll.rb:200:in `<top (required)>'
     7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll.rb:12:in `require_all'
     6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll.rb:12:in `each'
     5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll.rb:13:in `block in require_all'
     4: from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require'
     3: from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require'
     2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/converters/smartypants.rb:3:in `<top (required)>'
     1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/converters/smartypants.rb:4:in `<module:Kramdown>'

```

C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/converters/smartypants.rb:5:in `module:Parser’: uninitialized constant Kramdown::Parser::Kramdown (NameError)

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [January 1, 2020, 12:07am UTC](https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747/2 "2020-01-01T00:07:10Z")

</div>

can you get the ruby version? (to make sure ruby is running ok)

how did you install jekyll?

what is the output of `gem list`?

I use win 10 and use the regular command prompt or powershell and both work no problem.

---

<div class="post-metadata">

**Author:** ![padmanabhgalgali](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/padmanabhgalgali/32/2142_2.png) [@padmanabhgalgali](https://talk.jekyllrb.com/u/padmanabhgalgali)\
**Post date:** [January 1, 2020, 3:23am UTC](https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747/3 "2020-01-01T03:23:07Z")

</div>

> can you get the ruby version? (to make sure ruby is running ok)

Yes. This is what I get on version check.  
ruby 2.6.3p62 (2019-04-16 revision 67580) [x64-mingw32]  
Bundler version 2.1.2  
Gem 3.1.2

> how did you install jekyll?

gem install jekyll bundler

> what is the output of `gem list` ?

C:\Users\XYZ\Desktop\>gem list

\*\*\* LOCAL GEMS \*\*\*

addressable (2.7.0)  
bigdecimal (default: 1.4.1)  
bundler (2.1.2)  
cmath (default: 1.0.0)  
colorator (1.1.0)  
concurrent-ruby (1.1.5)  
csv (default: 3.0.9)  
date (default: 2.0.0)  
dbm (default: 1.0.0)  
did\_you\_mean (1.3.0)  
e2mmap (default: 0.1.0)  
em-websocket (0.5.1)  
etc (default: 1.0.1)  
eventmachine (1.2.7 x64-mingw32)  
fcntl (default: 1.0.0)  
ffi (1.11.3 x64-mingw32)  
fiddle (default: 1.0.0)  
fileutils (default: 1.1.0)  
forwardable (default: 1.2.0)  
forwardable-extended (2.6.0)  
gdbm (default: 2.0.0)  
http\_parser.rb (0.6.0)  
i18n (1.7.0)  
io-console (default: 0.4.7)  
ipaddr (default: 1.2.2)  
irb (default: 1.0.0)  
jekyll (4.0.0)  
jekyll-sass-converter (2.0.1)  
jekyll-watch (2.2.1)  
json (default: 2.1.0)  
kramdown (2.1.0)  
kramdown-parser-gfm (1.1.0)  
liquid (4.0.3)  
listen (3.2.1)  
logger (default: 1.3.0)  
matrix (default: 0.1.0)  
mercenary (0.3.6)  
minitest (5.11.3)  
mutex\_m (default: 0.1.0)  
net-telnet (0.2.0)  
openssl (default: 2.1.2)  
ostruct (default: 0.1.0)  
pathutil (0.16.2)  
power\_assert (1.1.3)  
prime (default: 0.1.0)  
psych (default: 3.1.0)  
public\_suffix (4.0.2)  
rake (12.3.2)  
rb-fsevent (0.10.3)  
rb-inotify (0.10.1)  
rdoc (default: 6.1.0)  
rexml (default: 3.1.9)  
rouge (3.14.0)  
rss (default: 0.2.7)  
rubygems-update (3.1.2)  
safe\_yaml (1.0.5)  
sassc (2.2.1 x64-mingw32)  
scanf (default: 1.0.0)  
sdbm (default: 1.0.0)  
shell (default: 0.7)  
stringio (default: 0.0.2)  
strscan (default: 1.0.0)  
sync (default: 0.5.0)  
terminal-table (1.8.0)  
test-unit (3.2.9)  
thwait (default: 0.1.0)  
tracer (default: 0.1.0)  
unicode-display\_width (1.6.0)  
webrick (default: 1.4.2)  
xmlrpc (0.3.0)  
zlib (default: 1.0.0)

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [January 1, 2020, 6:22am UTC](https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747/4 "2020-01-01T06:22:25Z")

</div>

```auto
from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require' 2: 
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.0/lib/jekyll/converters/smartypants.rb:3:in `<top (required)>'

```

I’m not sure about this, but it kind of looks like you have ruby installed in 2 different places? The site\_ruby looks like a duplicate possibly? so you could have gems in 2 different places and they are conflicting or not working together.

If you google the main error - `uninitialized constant Kramdown::Parser::Kramdown (NameError)` you will see a couple other posts on here about this, they look similar.

Not sure what the solution is, maybe uninstall ruby and reinstall it?

---

<div class="post-metadata">

**Author:** ![padmanabhgalgali](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/padmanabhgalgali/32/2142_2.png) [@padmanabhgalgali](https://talk.jekyllrb.com/u/padmanabhgalgali)\
**Post date:** [January 1, 2020, 7:47am UTC](https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747/5 "2020-01-01T07:47:40Z")

</div>

> I’m not sure about this, but it kind of looks like you have ruby installed in 2 different places? The site\_ruby looks like a duplicate possibly? so you could have gems in 2 different places and they are conflicting or not working together.

Maybe this is true, but I don’t recall installing it more than one time. Found [here](https://www.ruby-forum.com/t/rubygems-break-because-ruby-has-both-site-ruby-and-vendor-ruby/196529) that site\_ruby and vendor\_ruby existing together might break ruby gems.

> If you google the main error - `uninitialized constant Kramdown::Parser::Kramdown (NameError)` you will see a couple other posts on here about this, they look similar.

I did that, but couldn’t found any solution. Also, most of those issues weren’t produced right after the installation.

> Not sure what the solution is, maybe uninstall ruby and reinstall it?

Yes, will do that now. Maybe it could be of some help. Thanks !

---

<div class="post-metadata">

**Author:** ![padmanabhgalgali](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/padmanabhgalgali/32/2142_2.png) [@padmanabhgalgali](https://talk.jekyllrb.com/u/padmanabhgalgali)\
**Post date:** [January 1, 2020, 9:59am UTC](https://talk.jekyllrb.com/t/jekyll-installation-error-on-windows-10/3747/6 "2020-01-01T09:59:25Z")

</div>

Update: Re-installation of Ruby solved it.  
Got the:

```
C:\Users\XYZ>jekyll -v
jekyll 4.0.0
```
