-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error: undefined method `[]' for true:TrueClass #9
Comments
The problem is still present even installing In fact I've installed ruby 1.9.3
I've set the just installed 1.9.3 as the current one used:
I've intalled the latest gems:
I've changed directory to my octopress project and I've installed
I've installed the dependencies:
Finally I've tried to generate my site:
The error issued is still present. Thanks, |
If I change the
to:
the original issued error seems not happen, in fact I get the different error:
which happens on line 173 after (but I'm not sure it's actually after) the line 132 of the original issued error. In order to reproduce the error issued you can get my sources (with less then 11 posts) by running:
Then add 5 posts (resulting in 11 posts) in I'm really stuck on this problem: I can't post more then 10 posts! Please there anybody out there who can help me? |
I can't believe it, but in the end I've had the upper hand on this problem: great! SolutionThe Installation documentation says:
but the solution that worked for me needs of a further modification to the Jekyll configuration file (
|
PROBLEM The instructions given for the [Usage](https://github.com/octopress/paginate#usage) page doesn't work after Octopress [Initial setup](http://octopress.org/docs/setup/). CAUSE Configuring Octopress as described at [Initial setup](http://octopress.org/docs/setup/) leads to a `_config.yml` which contains the two lines: paginate: 10 # Posts per page on the blog index paginate_path: "posts/:num" # Directory base for pagination URLs eg. /posts/2/ these two keys conflict in some way with the configuration ones used by this plugin. SOLUTION I've added the subsection `Remove Octopress pagination defaults` in which is suggested to remove the two lines. octopress#9
Problem
Running
rake generate
I get the error:A more detailed log is:
Cause
The problem arises when in source/_post the number of posts exceeds 10.
In order to determine if there were something wrong in a post I've tried combinations of different posts, but there's no problem if the number of posts is less then or equals to 10; as soon as I add the 11st post, no matter which one, the error appears.
My installation details
My rubies installations:
My current ruby installations is 2.2.1p85:
My gems are:
My sources (with less then 11 posts) are on source branch, you can get them by running:
Thanks,
Tarin
The text was updated successfully, but these errors were encountered: