问题
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?
回答1:
I was able to solve it using gem cleanup
followed by bundle exec jekyll serve
.
来源:https://stackoverflow.com/questions/37055554/jekyll-serve-not-working