Jekyll is developed by Github and written in language Ruby.
Is it a CMS? no it’s not !
Is it a Blogging Software ? no it’s not !
How it is installed ? It’s installed as a Ruby Gem.
For details step by step guide you can follow below process:
- Download the Ruby Installer
- Right Click and Run as Administrator
- Click Yes and Select the language during installation and click OK.
- Check the “License Agreement” & Click Next.
- Check “Add Ruby executables to your PATH” & Click Install.
- Click Finish.
- Open Command Line (CMD)
- Install Jekyll:
gem install jekyll
- Create new static web project:
jekyll new web-project cd web-project
- Install Bundler :
gem install bundler
- Install Dependencies:
- Now Run the website:
bundle exec jekyll serve
- Now browse to Server Address :
What Issues you might face while Installing Jekyll on Windows?
One of the issue windows user might face is error while loading the Layout e.g.
Error reading file C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/default.html: No such file or directory @ rb_sysopen - /Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/default.html Error reading file C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/page.html: No such file or directory @ rb_sysopen - /Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/page.html Error reading file C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/post.html: No such file or directory @ rb_sysopen - /Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/post.html
Its temporary fix and I guess in the coming version developer will fix this issues . To resolve this Error in reading file while running jekyll server is to just copy the _layouts folder from minima gem to your root of the test project or blog.
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/ -> E:/yourfolder/_layouts
Let us know in the coments below if you are facing any issues while installing jekyll on windows.