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

read_posts is undefined #84

Closed
tcurdt opened this Issue Sep 7, 2009 · 3 comments

Comments

Projects
None yet
4 participants
@tcurdt

tcurdt commented Sep 7, 2009

I presume I did something wrong on the installation ...but this should never happen.

$ jekyll
WARNING: Could not read configuration. Using defaults (and options).
No such file or directory - ./_config.yml
Building site: . -> ./_site
/var/lib/gems/1.8/gems/mojombo-jekyll-0.5.4/bin/../lib/jekyll/site.rb:132:in `read_posts': undefined method `each' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.8/gems/mojombo-jekyll-0.5.4/bin/../lib/jekyll/site.rb:125:in `each'
from /var/lib/gems/1.8/gems/mojombo-jekyll-0.5.4/bin/../lib/jekyll/site.rb:125:in `read_posts'
from /var/lib/gems/1.8/gems/mojombo-jekyll-0.5.4/bin/../lib/jekyll/site.rb:178:in `transform_pages'
from /var/lib/gems/1.8/gems/mojombo-jekyll-0.5.4/bin/../lib/jekyll/site.rb:96:in `process'
from /var/lib/gems/1.8/gems/mojombo-jekyll-0.5.4/bin/jekyll:129
from /var/lib/gems/1.8/bin/jekyll:19:in `load'
from /var/lib/gems/1.8/bin/jekyll:19
@qrush

This comment has been minimized.

Contributor

qrush commented Sep 8, 2009

Could you provide the site or any other information so this can be reproduced? Thanks.

@tcurdt

This comment has been minimized.

tcurdt commented Sep 8, 2009

I was able to track this down. The tags section was just empty:

---
title: How could I miss that one
tags: 
layout: post
---

While one can leave out the "tags:" this should not result in an error like this.

@mojombo

This comment has been minimized.

Contributor

mojombo commented Jan 12, 2010

Fixed in 0.5.7.

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.