app-editors/vim: fix build

Add supported ruby version to the list of compatible versions

BUG=b/325422016,b/325367732,b/314520226,b/314369109,b/313209213,b/313209526,b/313208733,b/313208699,b/313209117,b/313208992,b/313209193,b/313189999,b/313189572,b/313189571,b/313189435,b/313189474,b/313189568,b/313189115
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/+/66896
Reviewed-by: Kevin Berry <kpberry@google.com>
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.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