Install this version:
emerge -a =dev-ruby/ruby-gdk3-4.3.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ruby/ruby-gdk3-4.3.6
Or alternatively:
emerge --autounmask-write -a =dev-ruby/ruby-gdk3-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 GDK-3.x bindings"
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
DEPEND="x11-libs/gtk+:3"
RDEPEND="x11-libs/gtk+:3"
ruby_add_rdepend "
~dev-ruby/ruby-cairo-gobject-${PV}
~dev-ruby/ruby-gdkpixbuf2-${PV}
~dev-ruby/ruby-pango-${PV}"