Add kernel version check (#673) [ci skip]
authorRafael dos Santos Silva <xfalcox@gmail.com>
Tue, 31 Jan 2023 18:31:02 +0000 (15:31 -0300)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 18:31:02 +0000 (15:31 -0300)
commitb952c711a17ec0e08eaef7cd1aed71c9285b7b30
treed9406985f316bc6846ac5940d68efd6e686b123d
parent05ee40d778e4d19e631f38877cebc2af447b53c7
Add kernel version check (#673) [ci skip]

On Ruby 3.1 there is a `RuntimeException` when calling `Random.urandom` on platforms where it's not properly implemented, which includes people running Ubuntu 14.04 with kernel 3.13.

See

https://meta.discourse.org/t/docker-build-broken-site-down/252047
https://meta.discourse.org/t/undefined-method-deprecated-for-nil-nilclass-on-rebuild/251711
https://meta.discourse.org/t/discourse-update-error/253197
https://meta.discourse.org/t/bootstrap-failure-during-most-recent-upgrade/253424
launcher