Skip to content

Commit 83e2d32

Browse files
committed
Remove unused script conditional
1 parent 7d7fb2a commit 83e2d32

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

script/update_rubygems_and_install_bundler

+1-13
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,10 @@ function is_ruby_3_plus {
1111
fi
1212
}
1313

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-
2214
if is_ruby_3_plus; then
2315
gem update --no-document --system
2416
gem install --no-document bundler
25-
elif is_ruby_26_plus; then
17+
else
2618
gem update --no-document --system '3.4.22'
2719
gem install --no-document bundler
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'
3220
fi

0 commit comments

Comments
 (0)