I'm new to Jekyll
and I'm trying to install new themes for my test-project in order to find which one is more suitable.
Basically, this is the procedure I follow:
- download (or clone) sources the theme to
~/gems/gems/
- enter in
~/gems/gems/<new_theme>
directory - run
bundle install
- if it works, go to my project folder and
- edit both
Gemfile
and_config.yml
with the name - run
bundle install
So far I tried at least 5-6 themes and none worked. Most of the times I get this kind of error:
Bundler could not find compatible versions for gem "jekyll":
In snapshot (Gemfile.lock):
jekyll (= 4.0.0)
In Gemfile:
jekyll (~> 4.0.0)
jekyll-theme-clean-blog was resolved to 4.0.1, which depends on
jekyll (~> 3.6)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
But I cannot understand it.
Gemfile.lock
says the version of jekyll
is 4.0.0
Gemfile
says the required version of jekyll
is greater or equal than 4.0.0 -> OK
jekyll-theme-clean-blog
depens on jekyll
greater or equal than 3.6 -> OK
So why it fails? I have version 4.0.0 that is greater than 3.6 as stated by the dependency chain. Where's my fault here?