octopress / genesis-theme

A Jekyll theme build on Octopress Ink
MIT License
24 stars 16 forks source link

Add "octopress-genesis-them", do "jekyll build", then error "undefined method 'docs'..." #49

Open seraph115 opened 7 years ago

seraph115 commented 7 years ago

1. Error like this,

  $ jekyll build
   Configuration file: /Users/seraph/code/ruby-space/blog/_config.yml
     Source: /Users/seraph/code/ruby-space/blog
     Destination: /Users/seraph/code/ruby-space/blog/_site
     Generating... 
   **jekyll 2.5.3 | Error:  undefined method 'docs' for [<Post: /2016/12/15/my-title>]:Array**

2. Gemfile source 'https://ruby.taobao.org/' gem 'octopress', '~> 3.0.4' group :jekyll_plugins do gem 'octopress-genesis-theme' end

3. _config.yml post_ext: markdown page_ext: html

post_layout: theme:post page_layout: theme:page

titlecase: true

post_template: post page_template: page draft_template: draft

admorgan commented 6 years ago

I just started having the same issue. Have you found a work around?

jilljenn commented 5 years ago

Same here. Can't build my 3-year-old blog.

What is troublesome is, octopress is supposed to work with Jekyll 3 but because of another gem, we can't:

octopress-genesis-theme was resolved to 0.0.3, which depends on
  octopress-date-format (~> 2.0) was resolved to 2.0.2, which depends on
    jekyll (~> 2.0)

It would be nice to rescue this nice theme.