LOST-STATS / lost-stats.github.io

Source code for the Library of Statistical Techniques
https://lost-stats.github.io/
GNU General Public License v2.0
257 stars 166 forks source link

Build failure #192

Open NickCH-K opened 1 year ago

NickCH-K commented 1 year ago

@khwilson I keep getting failed build warnings on all the new security updates, and so haven't been merging them. Is there a place I can look to figure out what's going on? I'm not quite able to figure it out from the logs.

khwilson commented 1 year ago

Let me take a look this afternoon!

On Fri, Jan 20, 2023 at 9:28 PM NickCH-K @.***> wrote:

@khwilson https://github.com/khwilson I keep getting failed build warnings on all the new security updates, and so haven't been merging them. Is there a place I can look to figure out what's going on? I'm not quite able to figure it out from the logs.

— Reply to this email directly, view it on GitHub https://github.com/LOST-STATS/lost-stats.github.io/issues/192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALU5ESR35HWNBXUTG7SHVLWTNCWRANCNFSM6AAAAAAUCEKTHQ . You are receiving this because you were mentioned.Message ID: @.***>

NickCH-K commented 1 year ago

@khwilson It appears to be something to do with version 2.6 of Ruby not being available

NickCH-K commented 1 year ago

@khwilson any ideas here, or something I could fix on my end? At the moment we can't take any PRs until this is fixed

@grantmcdermott I don't suppose you know how to fix this

NickCH-K commented 1 year ago

Hi @khwilson just pinging again - not sure if you've gone dark here. I can try to look around for someone else who knows how to handle a Ruby installation if you're not available.

grantmcdermott commented 1 year ago

I think @khwilson is on paternity leave (at the least he's got his hands full), so we may be on our own here. Unfortunately, I don't know a fix off the bat. We had quite a bit of custom custom scaffolding iirc...

NickCH-K commented 1 year ago

Oh! Well, well-deserved. Unfortunate; I don't think we can take any PRs or change anything until it's fixed, since any updates won't build.

NickCH-K commented 1 year ago

We have now solved the installation issue, but have a gemfile issue coming right up behind! Here is the error that's popping up on the build job:

Run gem install bundler:2.1.4
Successfully installed bundler-2.1.4
1 gem installed
Fetching gem metadata from https://rubygems.org/.........
Fetching https://github.com/benbalter/jekyll-default-layout.git
activesupport-[7](https://github.com/LOST-STATS/lost-stats.github.io/actions/runs/4408912054/jobs/7724533078#step:5:8).0.4.3 requires ruby version >= 2.7.0, which is incompatible with
the current version, ruby 2.6.[10](https://github.com/LOST-STATS/lost-stats.github.io/actions/runs/4408912054/jobs/7724533078#step:5:11)p210
Error: Process completed with exit code 5.

I'm guessing we need an updated version of Ruby?

NickCH-K commented 1 year ago

PRs are back up and running, but the security updates still throw build errors, appears ot be an old-Ruby-version issue.