I have installed this jekyll theme. But faced with one issue.
If I do:
bundle exec jekyll serve
All work fine (_site
f
I have found the solution to the same error don't have jekyll-paginate or one of its dependencies following this recomendation:
Edit the Gemfile and add:
source "https://rubygems.org"
gem "jekyll"
gem "jekyll-paginate"
In my case, I have to add only to my Gemfile the
gem "jekyll"
And after I have edited the file, I ran in the terminal the commands:
$ bundle install
$ bundle exec jekyll serve
And this problem was solved...
Found a similar issue on Jekyll repository, and this comment helped me solve it.
First run gem uninstall --all
, then run gem install github-pages
.
P.S. You also don't need jekyll-paginate
explicitly in your Gemfile
as it's already included in github-pages
gem.
I had the same problem in jekyll 3.8.5 version and short error message is like below
jekyll 3.8.5 | Error: jekyll-paginate
Then I read my project Gemfile.
If you want to use GitHub Pages, remove the "gem "jekyll"" above and uncomment the line below. To upgrade, run
bundle update github-pages
.
So I did what it suggested, comment the # gem "jekyll", "~> 3.8.5"
and uncommented below line
gem "github-pages", group: :jekyll_plugins
then run bundle update github-pages
and bundle exec jekyll serve
.
Because github-pages have all necessary gem files, I solved my problem.
I recently ran into this problem.
Here is a full list of steps for running Jekyll site (github pages) on MacOS
Copied from https://jekyllrb.com/docs/installation/macos/
1. Install Xcode
2. Install Homebrew
Add RUBY to your PATH as
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
3. Install Jekyll
Add gems to your PATH as
echo 'export PATH="$HOME/.gem/ruby/2.6.0/bin:$PATH"' >> ~/.bash_profile
Restart your terminal and go to your project's root directory.
bundle exec jekyll serve
If above command run into following error, then update the gemfile
Dependency Error: Yikes! It looks like you don't have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. If you've run Jekyll with `bundle exec`, ensure that you have included the jekyll-paginate gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- jekyll-paginate' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
Gemfile is in your project's root directory. Add new gems to it as
source "https://rubygems.org"
gem "jekyll", "~> 4.0"
gem "jekyll-paginate", "~> 1.1.0"
gem "jekyll-sitemap"
gem "jekyll-gist"
gem "jekyll-feed"
gem "jemoji"
Then
bundle install
bundle exec jekyll serve
Your site should be up at http://127.0.0.1:4000/
A similar problem has happened to me! I found you have two versions of jekyll,jekyll (3.1.1, 3.0.3),which results in this phenomenon。 So uninstall one : First run gem uninstall jekyll ,
gem uninstall jekyll
Select gem to uninstall:
1. jekyll-3.0.3
2. jekyll-3.1.2
3. All versions
> 2
Successfully uninstalled jekyll-3.1.2
then run Jekyll serve
.
Wish to help you!
just run gem install jekyll-paginate