Skip to content
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

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

Open
seraph115 opened this issue Dec 15, 2016 · 2 comments

Comments

@seraph115
Copy link

seraph115 commented Dec 15, 2016

#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

@seraph115 seraph115 changed the title add "octopress-genesis-them", do "jekyll build" error "undefined method `docs'" Add "octopress-genesis-them", do "jekyll build", then error "undefined method 'docs'..." Dec 15, 2016
@admorgan
Copy link

admorgan commented Dec 6, 2017

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

@jilljenn
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants