generator-jekyllrb icon indicating copy to clipboard operation
generator-jekyllrb copied to clipboard

Defaults don't work out of the box on Windows

Open erdostom opened this issue 10 years ago • 3 comments

Grunt fails for me unless I use specific versions in my Gemfile for jekyll, sass and compass: https://gist.github.com/erdostom/9923925

Also, Pygment will not work with Python 3 (maybe this could be noted in the Readme?).

Hope this is helpful, this is only my second OSS Issue and is partly fueled by an afternoon of frustration.

erdostom avatar Apr 01 '14 22:04 erdostom

For sure. Can you open a pull request to add that information to the readme?

robwierzbowski avatar Apr 23 '14 03:04 robwierzbowski

Weighing in here as a Windows user, just started trying the generator. It seems grunt-jekyll doesn't work with Windows nicely (no idea about other OS), so every Jekyll on version 1.4.3 and up will fail to pass the test on grunt-contrib-imagemin because of src in options is not passed when calling Jekyll. These incompatible versions won't accept the --source parameter at all. Also, grunt-jekyll won't pass in the source parameter when calling grunt jekyll:check on any versions of Jekyll.

TL;DR, grunt-jekyll's fault. Targeting Jekyll specifically on version 1.4.2 in the Gemfile seems to sort out the issue. grunt jekyll:check will still fail, but at least grunt serve works.

The same sort of problem reported in dannygarcia/grunt-jekyll#48, I guess.

EDIT: I've made a PR on grunt-jekyll to sort out this problem. It that PR passes and gets implemented, Windows users can use 1.4.2 now. (dannygarcia/grunt-jekyll#65)

diagramatics avatar Jun 21 '14 12:06 diagramatics

Just fixed jekyll doctor issue https://github.com/dannygarcia/grunt-jekyll/pull/65, Please check if it could solve this issue.

sparanoid avatar Oct 30 '15 09:10 sparanoid