Sunday 15 June 2014

ruby - Serve --watch not working in jekyll -



ruby - Serve --watch not working in jekyll -

i'm having problem jekyll. thought i'd seek out clean installed needed gems windows (running windows 7 64bit). go ahead , use

jekyll new test

then cd test dir , use

jekyll serve --watch

and flags

configuration file: c:/users/defa1t/desktop/test/_config.yml source: c:/users/defa1t/desktop/test destination: c:/users/defa1t/desktop/test/_site generating... c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/posix-spawn-0.3.9/lib/posix /spawn.rb:164: warning: cannot close fd before spawn 'which' not recognized internal or external command, operable programme or batch file. ←[31m liquid exception: undefined method `[]' nil:nilclass in _posts/2014-1 1-01-welcome-to-jekyll.markdown←[0m jekyll 2.4.0 | error: undefined method `[]' nil:nilclass

does know problem?

the solution found -- , hope works -- utilize older version of python (yes, python, not ruby -- problem highlighter).

install python 2.7 in directory called, say, c:\python27

change path environment variable have c:\python27 , c:\python27\scripts first entries. used rapid environment editor that. can of course of study write simple batch file adds in front end of existing entries:

set path=c:\python27\;c:\python27\scripts\;%path%

see if works. works me.

ruby windows jekyll

No comments:

Post a Comment