Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLisa Ling
148 Points`jekyll-paginate` gem
When I run jekyll serve, I got the following problem,
Deprecation: You appear to have pagination turned on, but you haven't included the jekyll-paginate
gem. Ensure you have gems: [jekyll-paginate]
in your configuration file.
Would you give me some suggestion? Thank you!
8 Answers
Lisa Ling
148 PointsI solved it! We need to paste the following to config.yml and update config.yml.
PAGINATION
- gems: [jekyll-paginate]
- paginate: 5
- paginate_path: "page:num"
Jeffrey Vierra
25,404 PointsYour a genius! Thank you thank you thank you.
Wahidyan Kresna Fridayoka
24,998 Pointsthanks man.. it helps me too.. :D
Thomas Vaeth
14,820 PointsI just had this problem too. In my _config.yml I just pasted this:
# Gems
gems: [jekyll-paginate]
Joe Pichardo
5,550 PointsFound this on the web
In Jekyll 3, pagination is deprecated. This post describes how to resolve the error: “Deprecation: You appear to have pagination turned on, but you haven’t included the jekyll-paginate gem. Ensure you have gems: [jekyll-paginate] in your configuration file.”
First, make sure you have the gem installed by typing in your terminal: gem install jekyll-paginate (or sudo gem install jekyll-paginate)
Next, open _config.yml, add add the following line:
gems :
- jekyll-paginate
Now, when you run jekyll serve or jekyll build the should no longer be there.
Elena Paraschiv
9,938 PointsThanks this explanation was the only one that worked for me
Ben Low
2,985 PointsThanks for your answer. Just rang into this problem and you answer had the right background to give me an understanding as to why this problem exists!
Diwesh Saxena
15,512 PointsJust to update now we have to explicitly also include its dependency "jekyll-gist" . So it should now look like
gems: [jekyll-paginate, jekyll-gist]
rafalcichon
4,684 Pointsgem install jekyll-paginate
and add to _config.yml
gems: [jekyll-paginate]
paginate: 3
Sally Gradle
24,694 PointsThis was so helpful. Thanks!
Unsubscribed User
48,988 Pointsthanks for posting saved me bit of time :-)
casthrademosthene
6,275 PointsY'all saved me because I was going crazy rewatching the video trying to figure out what I was doing wrong..
Treehouse should start putting the links to these Q&A's in the teacher's note.
Jeffrey Vierra
25,404 PointsJeffrey Vierra
25,404 PointsDid you get this issue resolved? I'm going through the exact same problem. I was about to do some google foo for the answer. But I decided to look here first.