Operate System:windows 8.1
Jekyll version: jekyll 2.5.0
python version: 2.7.8
gem -v: 2.2.2
When I run jekyll server output:
jekyll 2.5.0 | Error: No such file or directory @ rb_sysopen - D:/GitHub/kanlei.github.com/GitHub/kanlei.github.com/404.html
Detail
Configuration file: D:/GitHub/kanlei.github.com/_config.yml
Source: D:/GitHub/kanlei.github.com
Destination: D:/GitHub/kanlei.github.com/_site
Generating...
Error reading file D:/GitHub/kanlei.github.com/_layouts/default.html: No such file or directory @ rb_sysopen - D:/GitHub/kanlei.github.com/GitHub/kanlei.github.com/_layouts/default.html
Error reading file D:/GitHub/kanlei.github.com/_layouts/page.html: No such file or directory @ rb_sysopen - D:/GitHub/kanlei.github.com/GitHub/kanlei.github.com/_layouts/page.html
Error reading file D:/GitHub/kanlei.github.com/_layouts/post.html: No such file or directory @ rb_sysopen - D:/GitHub/kanlei.github.com/GitHub/kanlei.github.com/_layouts/post.html
Error reading file D:/GitHub/kanlei.github.com/_posts/core-samples/2011-12-29-jekyll-introduction.md: No such file or directory @ rb_sysopen - D:/GitHub/kanlei.github.com/GitHub/kanlei.github.com/_posts/core-samples/2011-12-29-jekyll-introduction.md
I got the same error. Seems that jekyll 2.5.0 is not compatible with all the others.
Try running this
gem uninstall jekyll
gem install jekyll -v 2.4.0
and then build the site again
This method worked for me
I've had the same problem, and been looking for solution, but it seems that it is a problem with the 2.5.0 version of jekyll, for Windows specifically. I think.
There's already been an issue reported at: https://github.com/jekyll/jekyll/issues/3068
For now, the only workaround i can find is downgrading to jekyll 2.4.0 just as namam posted.
And wait for a fix or a better workaround for 2.5.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With