We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b3a38 commit a3ed192Copy full SHA for a3ed192
script/update_rubygems_and_install_bundler
@@ -11,22 +11,10 @@ function is_ruby_3_plus {
11
fi
12
}
13
14
-function is_ruby_26_plus {
15
- if ruby -e "exit(RUBY_VERSION.to_f >= 2.6)"; then
16
- return 0
17
- else
18
- return 1
19
- fi
20
-}
21
-
22
if is_ruby_3_plus; then
23
gem update --no-document --system
24
gem install --no-document bundler
25
-elif is_ruby_26_plus; then
+else
26
gem update --no-document --system '3.4.22'
27
28
-else
29
- echo "Warning installing older versions of Rubygems / Bundler"
30
- gem update --system '3.3.26'
31
- gem install bundler -v '2.3.26'
32
0 commit comments