I created Jekyll blog on Windows 10. When I tried to run it locally using jekyll serve
, I got these errors:
Error reading file C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/default.html: No such file or directory @ rb_sysopen - /tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/default.html
Error reading file C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/page.html: No such file or directory @ rb_sysopen - /tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/page.html
Error reading file C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/post.html: No such file or directory @ rb_sysopen - /tools/ruby23/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/post.html
I've searched in stackoverflow and some other sites(e.g. Error while running " jekyll serve " command) about this problem and found out that it will work for Jekyll version 3.2.1
. I've installed this version too and tried it out, but still failed to run locally.
I've installed all "things" needed for this like ruby, rubydevkit, python, and Jekyll. But still the only problem is I can't run it locally to test it before publishing it to GitHub pages. I only succeed publishing it to GitHub pages with no error, but not locally running. I followed the tutorials in here:
How to run it locally?, is it not working for windows?. Thanks.
bundle install
thenbundle exec jekyll serve
– David Jacquel