-
Notifications
You must be signed in to change notification settings - Fork 36
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
Improve the troubleshooting experience of "Warning: github-pages can't satisfy your Gemfile's dependencies" #104
Comments
Agreed, I just noticed the warning and had no idea what's causing it. |
@TWiStErRob Funny thing is, that workaround didn't actually make the warning go away for me! Looking at your
Seeing as |
At one point in the past years
I think it's because you're using a bundler function and I'm using a language feature. The weird thing is that your build outputs the puts logs, which suggests that the |
I've read the code for both the From what I can tell, they should behave exactly the same, but I concede that I had a similar suspicion to yours (as nothing else could explain it). I could reach the same logic as I have today by duplicating (instead of nesting) the |
@TWiStErRob: It seems as if this Action's built-in
So, it seems that |
@trinitronx For the record the warning comes from here: jekyll-build-pages/entrypoint.sh Lines 17 to 18 in 1ad3785
where you can see what command the action executes. So you're right that it's "comparing" the GH Pages Classic Gemfile with the repo's actual Gemfile. Note: I totally gave up on using the defaults though, because based on my research it seems they will never update to Jekyll 4. It might be allowed via opt-in eventually, but with the new (currently beta) approach Pages Classic feels kind of defunct. |
@TWiStErRob thank you for doing the research and writing it down here 💛 You pointed me in the right direction. The current documentation is misleading. |
Sample run: https://github.com/4tals/LinksForIsrael/actions/runs/6586647478/job/17895361781#step:4:13
As you can see, it just says that the dependencies can't be satisfied. It would be very helpful to understand what dependencies exactly can't be satisfied and why - needless to say, it does not reproduce locally and sometimes the workaround can be simple (for example github/pages-gem#887).
The text was updated successfully, but these errors were encountered: