-
Notifications
You must be signed in to change notification settings - Fork 27
Compatibility with Jekyll 4 #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I do not. Can you tell me what’s changed? |
I will be testing this week using GitHub Actions so can also report out. |
I can't get it to work with Jekyll 4, Bundler chooses to use Jekyll 3.8.6 instead. |
If you are using the GH-pages gem, then that’s probably the Jekyll version pinned. I’ve not gotten to Actions yet. |
I updated everything (including Jekyll to 4.0.0) before adding the plugin to the gemfile. After adding it, I had to |
@aarongustafson I think most changes are related to performance improvements, but there are a few breaking changes. Maybe @DirtyF can help us there. @kslstn I had to fork the plugin to try Jekyll 4, and use my fork instead of @aarongustafson's latest release: https://github.com/nhoizey/nicolas-hoizey.com/blob/jekyll4/Gemfile#L33 Be careful, this is just for experimentation, I don't build my production site with it, I don't know if everything still works (I don't use everything). That's why I didn't submit a PR (yet?). |
I have not upgraded yet, so I can't speak from experience on this one (yet). @jgarber623 may have some ideas as well. I welcome a PR as I’ve been pretty swamped lately. |
Hi there, fwiw, I have started using this gem with my own site, which started as a fresh Jekyll 4 project not long ago. So far I'm using the following features without problems:
No sending of webmentions, no JS stuff, no custom templates yet. |
@danielpietzsch How were you able to get it working with Jekyll 4? I cloned @nhoizey's fork, ran these commands:
But when adding
I'm sure I'm missing something easy somewhere |
@poblabs I think the following in your gemfile should do the trick, no need to build manually.
|
@poblabs Yes, @tosbourn is right with that line, although you would need to specify @nhoizey ’s gem 'jekyll-webmention_io', :git => 'https://github.com/nhoizey/jekyll-webmention_io.git', :branch => 'nhoizey-jekyll4' Then run General update, FYI:
The last failing point might simply not work because of misconfiguration on my end. Have only briefly tried. And new webmentions are retrieved correctly, but are not rendered onto the page. Haven’t debugged this yet. |
@danielpietzsch @tosbourn Thanks guys for the tips. No luck yet though. I'm new to this so still unsure what's wrong. Here's what I did... I added this to my Gemfile
Then ran:
Gem list shows this - I don't see it in this list:
However this looks like it's available?
Building my site gives the same error:
|
The problem might be that you run And I think discussing this over at #137 is the more appropriate issue, since I don’t think this problem is specific to “Jekyll 4” (apart from having to install a specific work where that gem spec allows for install with Jekyll 4). |
Still having problems installing as root. I'll re-open #137 with more info there. |
Unfortunately @nhoizey's fork has been deleted. Does anyone else have a fork of that? |
I never managed to make Jekyll 4 work with my multiple dependencies, so I stopped and migrated to Eleventy. I removed my fork, as I forgot anyone might have needed it, I'm really sorry. 😞 |
That's OK, no one expects you to keep it around :) |
I’m currently using my own fork, which simply updates this repo’s gemspec to signal compatibility with Jekyll 4 and hence make it usable (I think that’s all @nhoizey’s fork did, too). Feel free to use my fork, too. Here’s what the statement in my Gemfile looks like: gem 'jekyll-webmention_io', :git => 'https://github.com/danielpietzsch/jekyll-webmention_io.git', :branch => 'jekyll4' |
Thanks @danielpietzsch, that's a PR I considered raising but I'll try it via a fork! |
I kept having Ruby/Jekyll issues when upgrading my Mac, so I have moved off of Jekyll and will not be working on this project anymore, going forward. I am going to flag this as won’t fix, but leave it open in case someone else wants to pick up the project from here. |
I believe I've made all the necessary changes to fully support Jekyll 4. As I'm running Jekyll 4 myself and making use of these changes, I'm comfortable calling this issue closed. If anyone runs into any issues, please file a new issue or comment on this one! |
Thank you @fancypantalons! |
Thanks @fancypantalons! Somehow it doesn't work for me with Ruby 3.0.0/Jekyll 4. I removed all other plugins from my Gemfile, removed Gemfile.lock and run
My Gemfile:
|
It looks like you're still pulling the gem from rubygems, but until a new package version is published, you're going to need to use the gem directly from github. Try this configuration:
|
Awesome, that was it! |
I plan to upgrade my site to Jekyll 4, and there a few plugin still not compatible, like this one.
Do you know if anyone tried to use current version with Jekyll 4?
The text was updated successfully, but these errors were encountered: