Skip to content

Commit 1d0351d

Browse files
committed
mri: build 3.x rubies with ruby 3.4.1
Because of this error while building ruby 2.7.8: /usr/local/rake-compiler/sources/ruby-2.7.8/lib/delegate.rb:44:in 'Module#undef_method': undefined method '=~' for module '#<Module:0x00007bf99fa388f0>' (NameError)
1 parent 0818a11 commit 1d0351d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile.mri.erb

+3-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ RUN sudo mkdir -p /usr/local/rake-compiler && \
115115
xrubies_build_plan = if platform =~ /x64-mingw-ucrt/
116116
[
117117
# Rubyinstaller-3.1+ is platform x64-mingw-ucrt
118-
["3.4.1:3.3.5:3.2.6:3.1.6", "3.1.6"],
118+
["3.4.1:3.3.5:3.2.6:3.1.6", "3.4.1"],
119119
]
120120
elsif platform =~ /x64-mingw32/
121121
[
@@ -126,7 +126,8 @@ elsif platform =~ /x64-mingw32/
126126
else
127127
[
128128
["2.6.10:2.5.9:2.4.10", "2.5.9"],
129-
["3.4.1:3.3.5:3.2.6:3.1.6:3.0.7:2.7.8", "3.1.6"],
129+
["2.7.8", "3.1.6"],
130+
["3.4.1:3.3.5:3.2.6:3.1.6:3.0.7", "3.4.1"],
130131
]
131132
end
132133

0 commit comments

Comments
 (0)