varvet / pundit

Minimal authorization through OO design and pure Ruby classes
MIT License
8.28k stars 629 forks source link

Add Ruby 3.1 to Travis #710

Closed petergoldstein closed 2 years ago

petergoldstein commented 2 years ago

This PR adds Ruby 3.1.0 to CI.

petergoldstein commented 2 years ago

So I'm not sure why RVM doesn't have 3.1.0 available. I've done a bunch of PRs adding Ruby 3.1.x to CI, but this is the first one I've tried to do with Travis - all the others have been GitHub Actions. Anyone with some Travis experience know why the install is failing?

I use rbenv locally and have confirmed that bundle runs and rake runs green.

MarceloAGuimaraes commented 2 years ago

Hey @petergoldstein, i don't have that much experience with Travis but i think the reason for this error is because the binary for ruby 3.1.x isn't available yet in rvm binaries for ubuntu 20, as you can see here: https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/.

Burgestrand commented 2 years ago

Hi! Travis fixed this about a week ago, and so this build passes when I re-ran the job. Thanks for the PR!