Skip to content

Commit c736282

Browse files
committed
Have CI use newer versions of ruby and use supported bundler version
The CI runner at github was failing on the older ruby versions: Bundler 2 requires Ruby 2.3+, using Bundler 1 on Ruby <= 2.2 /opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v ~> 1.0 ERROR: While executing gem ... (RuntimeError) It was also failing to find the images: Error: Unavailable version 9.2.21.0 for jruby on ubuntu-24.04 You can request it at https://github.com/ruby/setup-ruby/issues Cause: Unexpected HTTP response: 404 at /home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:71342:15 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async body (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:355:14) test (jruby-9.3.6.0) Error: Unavailable version 9.3.6.0 for jruby on ubuntu-24.04 You can request it at https://github.com/ruby/setup-ruby/issues Cause: Unexpected HTTP response: 404 at /home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:71342:15 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async body (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:355:14) Error: Unavailable version 9.1.17.0 for jruby on ubuntu-24.04 You can request it at https://github.com/ruby/setup-ruby/issues Cause: Unexpected HTTP response: 404 at /home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:71342:15 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async body (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:355:14)
1 parent 6d7477b commit c736282

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,22 @@ permissions:
1818

1919
jobs:
2020
test:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222
strategy:
2323
matrix:
2424
ruby-version:
25-
- '2.0'
26-
- '2.1'
27-
- '2.2'
2825
- '2.3'
2926
- '2.4'
3027
- '2.5'
3128
- '2.6'
3229
- '2.7'
3330
- '3.0'
3431
- '3.1'
32+
- '3.4'
3533
- jruby-9.1.17.0
3634
- jruby-9.2.21.0
3735
- jruby-9.3.6.0
36+
- jruby-9.4.9.0
3837

3938
steps:
4039
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)