Install this version:
emerge -a =dev-ruby/ruby-gtk3-4.3.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ruby/ruby-gtk3-4.3.6
Or alternatively:
emerge --autounmask-write -a =dev-ruby/ruby-gtk3-4.3.6
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_GNOME2_NEED_VIRTX=yes
inherit ruby-ng-gnome2
DESCRIPTION="Ruby Gtk2 bindings"
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
DEPEND="dev-libs/glib:2
>=dev-libs/gobject-introspection-1.82.0-r2:=
x11-base/xorg-proto
x11-libs/gtk+:3
"
RDEPEND="${DEPEND}"
ruby_add_rdepend "
~dev-ruby/ruby-atk-${PV}
~dev-ruby/ruby-gdk3-${PV}"
ruby_add_bdepend "
~dev-ruby/ruby-cairo-gobject-${PV}
~dev-ruby/ruby-glib2-${PV}
~dev-ruby/ruby-gobject-introspection-${PV}
~dev-ruby/ruby-pango-${PV}"
dev-libs/glib:2 >=dev-libs/gobject-introspection-1.82.0-r2:= x11-base/xorg-proto x11-libs/gtk+:3
dev-libs/glib:2 >=dev-libs/gobject-introspection-1.82.0-r2:= x11-base/xorg-proto x11-libs/gtk+:3