-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jekyll serve issues #66
Comments
Looks like your When working locally dump what you currently have there and try this instead: url: http://localhost:4000
baseurl: From what I can tell you don't need to set anything for baseurl. You're essentially setting the same url twice which is breaking everything. |
And the other errors are related to the Pygments gem. It can be a bitch getting everything running properly on a Windows machine. Newer versions of Pygments don't play nice. Same deal with Ruby. You'd be better off searching around StackOverflow because these issues are quite common. |
Thank you so much! I missed the comment about turning off baseurl in the config. I just turned off pygments for the time being and will search stack overflow for more on it. All good. I am up and running now. I really appreciate the help! |
This is a pretty good guide for installing Jekyll on Windows and it has some tips on getting Pygments working. http://jekyll-windows.juthilo.com/3-syntax-highlighting/ |
Based on mmistakes#238, resolves mmistakes#66.
HI there - i'm having what is likely some newbie issues... when trying to run jekyll serve i get several errors. The result is a white screen when i type in localhost:4000. Any guidance to get this to work is greatly appreciated. The file mentos.py is in the directory "pygments".
Thank you in advance for any guidance.
leah
C:\Users\lwasser\Documents\GitHub\minimal-mistakes>jekyll serve --watch
Configuration file: C:/Users/lwasser/Documents/GitHub/minimal-mistakes/_config.y
ml
Source: C:/Users/lwasser/Documents/GitHub/minimal-mistakes
Destination: C:/Users/lwasser/Documents/GitHub/minimal-mistakes/_site
Generating...
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/posix-spawn-0.3.8/lib/posix/spawn.rb:162
: warning: cannot close fd before spawn
'which' is not recognized as an internal or external command,
operable program or batch file.
Liquid Exception: No such file or directory - python C:/Ruby200-x64/lib/ruby/g
ems/2.0.0/gems/pygments.rb-0.6.0/lib/pygments/mentos.py in _posts/2011-03-10-sam
ple-post.md
done.
Please add the following to your Gemfile to avoid polling for changes:
require 'rbconfig'
if RbConfig::CONFIG['target_os'] =~ /mswin|mingw|cygwin/i
gem 'wdm', '>= 0.1.0'
end
Auto-regeneration: enabled for 'C:/Users/lwasser/Documents/GitHub/minimal-mista
kes'
Configuration file: C:/Users/lwasser/Documents/GitHub/minimal-mistakes/_config.y
ml
Server address: http://0.0.0.0:4000http://lwasser.github.io/minimal-mistakes
/
Server running... press ctrl-c to stop.
The text was updated successfully, but these errors were encountered: