Possible incompatibility with Jekyll 4.0.0
See original GitHub issueDescription:
It seems that jekyll-admin isn’t proper configured to run with Jekyll 4.0.0.
Tell us a bit about yourself:
- Version of JekyllAdmin: v0.8.1
- Version of Jekyll: possibly v4.0.0 (because
bundle show
also returns the same error) - Version of NodeJS: v12.7.0
- Operating System: Ubuntu 18.04 64bits
Steps to reproduce:
After correctly installing Jekyll on my computer and running a test instance with no issues, I created the _plugins
directory and installed Jekyll Admin through:
- adding
- jekyll-admin
to the “plugins” section on_config.yml
- running
gem install jekyll-admin
- adding it to the
:jekyll_plugins
group in the Gemfile - and, finally, running
bundle install
- tried to run
bundle exec jekyll serve
I expected the following:
I expected to receive no errors, to be able to go to http://localhost:4000/admin
But got the following, instead:
When running bundle exec jekyll serve
, it returns:
Bundler could not find compatible versions for gem "jekyll":
In snapshot (Gemfile.lock):
jekyll (= 4.0.0)
In Gemfile:
jekyll (~> 4.0.0)
jekyll-admin was resolved to 0.8.1, which depends on
jekyll (~> 3.3)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Other details:
The error persists even after running bundle update
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Changes/Jekyll4 - Fedora Project Wiki
Jekyll 4 includes some minor backwards-incompatible changes which made new features possible, as outlined in the upstream announcement and ...
Read more >Help with Jekyll Error
I have installed Jekyll and Ruby by following the instruction on the website. ... 19: from /Users/H.QIAN/.gem/ruby/2.6.0/gems/jekyll-4.0.0/exe/jekyll:8:in ...
Read more >Can't run Jekyll 4 because rubygems version <2.7.0 - Support
I run Jekyll 4.0.0 locally. I'm setting Ruby to v 2.4.3 in .ruby-version but all Netlify builds are failing with jekyll-4.0.0 requires rubygems...
Read more >jekyll/jekyll - Gitter
i got an error like this: Could not find 'sassc' (< 3.0, > 2.0.1) among 184 total gem(s) (Gem::MissingSpecError)
Read more >having trouble with gems and ruby set up - MAC OS - Reddit
16: from /Users/H.QIAN/.gem/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll. ... And will it be possible to restart everything and start to install ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
jekyll-admin-0.9.0
with support for Jekyll 4.0 has been released.Alright, I’ve managed to get jekyll-admin to work on Jekyll 4.0.0. It’s a silly, hacky way to do it but it does work.
3.8.6
and make sure jekyll-admin is in the plugin section.bundle update
to get everything downloaded and working.cd
into./vendor/bundle/ruby/2.5.0/specifications
and editjekyll-admin-0.8.1.gemspec
so both instances ofjekyll
have their version set to4.0.0
.cd
back to your Jekyll site directory and edit your Gemfile so Jekyll is at4.0.0
.bundle update
again. It didn’t redownload everything, just Jekyll so the changes to jekyll-admin’s dependencies stuck. I also noticed there is a--local
option forbundle update
which forces using local cache but I didn’t try it.Doing this, I can now have Jekyll 4.0.0 with jekyll-admin and so far, I can’t find any issues. So maybe this is just a matter of updating the dependency string to include
4.0.0
?