File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ group :documentation do
12
12
end
13
13
14
14
gem 'capybara'
15
- gem 'ffi' , '~ > 1.15.5'
15
+ gem 'ffi' , '> 1.15.5'
16
16
gem 'rake' , '> 12'
17
17
gem 'rubocop' , '~> 1.28.2'
18
18
Original file line number Diff line number Diff line change @@ -11,9 +11,21 @@ function is_ruby_3_plus {
11
11
fi
12
12
}
13
13
14
- if is_ruby_3_plus; then
14
+ function is_ruby_3_1_plus {
15
+ if ruby -e " exit(RUBY_VERSION.to_f >= 3.1)" ; then
16
+ return 0
17
+ else
18
+ return 1
19
+ fi
20
+ }
21
+
22
+
23
+ if is_ruby_3_1_plus; then
15
24
gem update --no-document --system
16
25
gem install --no-document bundler
26
+ elif is_ruby_3_plus; then
27
+ gem update --no-document --system ' 3.5.23'
28
+ gem install --no-document bundler
17
29
else
18
30
gem update --no-document --system ' 3.4.22'
19
31
gem install --no-document bundler
You can’t perform that action at this time.
0 commit comments