Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jekyll Serve not working

I have downloaded zip of this github repo - https://github.com/mmistakes/minimal-mistakes

I have installed bundler and I did bundle install , it worked perfectly.

Now when I try to run jekyll serve -w,

WARN: Unresolved specs during Gem::Specification.reset: jekyll-watch (~> 1.1) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. Configuration file: /home/kenden/Desktop/minimal-mistakes-master/_config.yml

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. The full error message from Ruby is: 'cannot load such file -- jekyll-paginate' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!

jekyll 3.1.3 | Error: jekyll-paginate

However when I do, gem list, it shows me jekyll-paginate (1.1.0) along with all the other gems that are installed.

How to solve this issue?

like image 989
Riken Shah Avatar asked Sep 05 '25 03:09

Riken Shah


2 Answers

I was able to solve it using gem cleanup followed by bundle exec jekyll serve.

like image 91
Riken Shah Avatar answered Sep 07 '25 22:09

Riken Shah


If gem cleanup and bundle exec jekyll servedoesn't work. Then try bundle add webrick. After that you can try bundle exec jekyll serve. And it should work.

like image 27
Wardason Avatar answered Sep 07 '25 23:09

Wardason