Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Lisa Ling148 Points
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!
Lisa Ling148 Points
I solved it! We need to paste the following to config.yml and update config.yml.
- gems: [jekyll-paginate]
- paginate: 5
- paginate_path: "page:num"
Thomas Vaeth14,820 Points
I just had this problem too. In my _config.yml I just pasted this:
# Gems gems: [jekyll-paginate]
Joe Pichardo5,550 Points
Found 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:
Now, when you run jekyll serve or jekyll build the should no longer be there.
Just to update now we have to explicitly also include its dependency "jekyll-gist" . So it should now look like
gems: [jekyll-paginate, jekyll-gist]
gem install jekyll-paginate
and add to _config.yml
gems: [jekyll-paginate] paginate: 3
This was so helpful. Thanks!
thanks for posting saved me bit of time :-)
Y'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.