app-editors/vim: fix build

Add supported ruby version to the list of compatible versions

BUG=b/325379817,b/325368447,b/314336762,b/314337133,b/313194687,b/313194784,b/313194686,b/313194903,b/313194490,b/313194140,b/313194555,b/313194373,b/313194513,b/313194435,b/313194098,b/313194060,b/313194456,b/313194216
TEST=presubmit
RELEASE_NOTE=Updated app-editors/vim to 9.0.2167. This fixed CVE-2023-48231, CVE-2023-48232, CVE-2023-48233, CVE-2023-48234, CVE-2023-48235, CVE-2023-48236, CVE-2023-48237, CVE-2023-48706, CVE-2024-22667.

cos-patch: bug
Change-Id: I5cd4af9e985cfc9dd6d512e08ab4f1c3f466dd16
Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/portage-stable/+/66912
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Kevin Berry <kpberry@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
diff --git a/app-editors/vim/vim-9.0.2167.ebuild b/app-editors/vim/vim-9.0.2167.ebuild
index 5c49cd2..e58600d 100644
--- a/app-editors/vim/vim-9.0.2167.ebuild
+++ b/app-editors/vim/vim-9.0.2167.ebuild
@@ -11,7 +11,7 @@
 LUA_COMPAT=( lua5-{1..4} luajit )
 PYTHON_COMPAT=( python3_{6..9} )
 PYTHON_REQ_USE="threads(+)"
-USE_RUBY="ruby31 ruby32"
+USE_RUBY="ruby27 ruby31 ruby32"
 
 inherit vim-doc flag-o-matic bash-completion-r1 lua-single python-single-r1 ruby-single toolchain-funcs desktop xdg-utils