Comments (10)
Hi,
I had an error similar to this, running on Windows 8. I think it may be to do with Ruby gems rather than the Scribble theme itself.
Basically what I narrowed it down to was there was a gem I had installed called Pygments (this gem lists Posix-Spawn as a dependancy, which I spotted in your error), which I believe is some type of syntax/code highlighter. So that if you have code samples in your markdown files they get styled as such. I know the theme demo markdown has these in, so what you could try is taking out the code samples, or even those markdown files altogether and see if you can do a build. At least this will help to establish if this is causing the problem.
I am no Jekyll expert myself, and am only toying around with it, so sorry I can't tell you a fix, but when I saw your error it reminded me of the issue that I had. All I can say is that on Windows I have found that you need the right mix of gems to get Jekyll to behave.
from scribble.
I managed to install this theme without problems: http://jekyllthemes.org/themes/vanilla-bean-creme/
But I hate it and still want this one :P so I'll try out what you mentioned until the authors reads this issue.
Thanks!
from scribble.
Hi @belohlavek, as a matter of fact I have very little idea, but what @andy-chubb said sounds really plausible, back when I had a windows machine incompatible gems were causing problems all over the place.
So if that's the case, you can try removing the this line from the config file and last line of this file then rebuild the site, it should solve the problem.
Although that means you won't have code highlighting anymore, but at the same time there are alternatives for doing code highlighting. A few versions back this theme was using codemirror for syntax highlighting, if you're up for it, try that.
Also thanks a lot @andy-chubb!
from scribble.
@muan I'd be able to use some kind of JS Syntax Highlighter and Codepen rather than Pygments, thanks for the quick answer and I'll try that in a minute!
from scribble.
@muan @andy-chubb It worked! Now, should I use a JS Syntax Highlighter as I said or is there some smarter alternative?
btw, you should put the menu inside a nav tag ;)
from scribble.
Codemirror is a JS alternative as I mentioned, if you check back my commits here: https://github.com/muan/scribble/commits/master this theme was using that instead of pygments(21 may), so you can reset back and try it out to see if you like that :)
I'm sure there are others but I don't know them. :)
As for the nav tag.. I have actually moved the theme into another repository along with other themes, so it is indeed in a nav tag now. :) I am not actively maintaining this repository at the moment.
from scribble.
Hey by the way, I just came across this: http://stackoverflow.com/questions/17364028/jekyll-on-windows-pygments-not-working Looks to be exactly what you had.
from scribble.
I haven't tried this, though, using something like http://rubyinstaller.org/downloads/ may make your life easier.
from scribble.
Using Pygments on Windows is a little bit tricky, but that is a problem with Python rather than Ruby or Jekyll. You have to make sure that pygmentize
command works on its own before using it with Jekyll.
from scribble.
I've already removed the codemirror code and used Prettify instead: https://code.google.com/p/google-code-prettify/ so no need for Python syntax highlighting! Thanks for the help!
from scribble.
Related Issues (20)
- How to highlight another syntax (CSS or PHP) ? HOT 2
- .scss & .coffee files HOT 5
- Setting up custom referral to GitHub? HOT 3
- Changing title? HOT 4
- Date and Posts not showing up? HOT 5
- 404 page got error HOT 1
- can not access my side with other port except 8080 HOT 3
- Niggling issue HOT 2
- max-width HOT 1
- How to install it for octopress --pre HOT 2
- images within a blog post? HOT 1
- Pygments and Redcarpet incompatibility HOT 1
- Blog Theme HOT 1
- fail to add a post whose Date is today HOT 1
- Required dependency libxml not available (Ruby 2.3.3)?
- github user page HOT 1
- 0xf2c9331801a379a5 HOT 1
- error running jekyll serve
- Trying to load from external sources error HOT 1
- Pagination is placed horizontally on top of text, preventing links etc. from being clicked HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribble.