Install this version:
emerge -a =dev-ruby/rex-struct2-0.1.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ruby/rex-struct2-0.1.1
Or alternatively:
emerge --autounmask-write -a =dev-ruby/rex-struct2-0.1.1
# Copyright 1999-2017 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 USE_RUBY="ruby32 ruby33" #RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_BINWRAP="" inherit ruby-fakegem DESCRIPTION="Ruby Exploitation(Rex) library for generating/manipulating C-Style structs" HOMEPAGE="https://rubygems.org/gems/rex-struct2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="" # doesn't seem to actually run any tests RESTRICT=test