Skip to content

Commit 3fb2b08

Browse files
authored
Merge pull request #901 from github/ruby-3x
Bring back proper support for Ruby 3.x
2 parents 3626b3a + 9a20094 commit 3fb2b08

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
matrix:
99
ruby:
1010
- '3.0'
11+
- '3.1'
12+
- '3.2'
1113
- '3.3'
1214
steps:
1315
- uses: actions/checkout@v4

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ RUN apt-get update \
88
make \
99
nodejs
1010

11-
# final version for rubygems-update to supoprt ruby 2.7, consider removing this after upgraded to ruby 3.0
12-
RUN gem update --system
13-
1411
COPY .git /src/gh/pages-gem/.git
1512
COPY Gemfile* /src/gh/pages-gem/
1613
COPY github-pages.gemspec /src/gh/pages-gem

lib/github-pages/dependencies.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def self.version_report
6363
require "nokogiri"
6464

6565
{
66-
"ruby" => "3.3",
66+
"ruby" => RUBY_VERSION,
6767

6868
# Gem versions we're curious about
6969
"github-pages" => VERSION.to_s,

0 commit comments

Comments
 (0)