File tree 3 files changed +20
-1
lines changed
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 33
33
matrix :
34
34
include :
35
35
# Edge Rails (7.1) builds >= 2.7
36
+ - ruby : 3.2
37
+ allow_failure : true
38
+ env :
39
+ RAILS_VERSION : ' main'
36
40
- ruby : 3.1
37
41
allow_failure : true
38
42
env :
47
51
RAILS_VERSION : ' main'
48
52
49
53
# Rails 7.0 builds >= 2.7
54
+ - ruby : 3.2
55
+ env :
56
+ RAILS_VERSION : ' ~> 7.0.0'
50
57
- ruby : 3.1
51
58
env :
52
59
RAILS_VERSION : ' ~> 7.0.0'
Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ function is_mri_2plus {
57
57
fi
58
58
}
59
59
60
+ function is_ruby_26_plus {
61
+ if ruby -e " exit(RUBY_VERSION.to_f >= 2.6)" ; then
62
+ return 0
63
+ else
64
+ return 1
65
+ fi
66
+ }
67
+
60
68
function is_ruby_23_plus {
61
69
if ruby -e " exit(RUBY_VERSION.to_f >= 2.3)" ; then
62
70
return 0
Original file line number Diff line number Diff line change 5
5
set -e
6
6
source script/functions.sh
7
7
8
- if is_ruby_23_plus ; then
8
+ if is_ruby_26_plus ; then
9
9
gem update --no-document --system
10
10
gem install --no-document bundler
11
+ elif is_ruby_23_plus; then
12
+ echo " Warning installing older versions of Rubygems / Bundler"
13
+ gem update --system ' 3.3.26'
14
+ gem install bundler -v ' 2.3.26'
11
15
else
12
16
echo " Warning installing older versions of Rubygems / Bundler"
13
17
gem update --system ' 2.7.10'
You can’t perform that action at this time.
0 commit comments