Install this version:
emerge -a =dev-ruby/draper-4.0.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ruby/draper-4.0.6
Or alternatively:
emerge --autounmask-write -a =dev-ruby/draper-4.0.6
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.0.6 | 8 | ~amd64 | $(ver_cut 1) |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
DESCRIPTION="View Models for Rails"
HOMEPAGE="https://github.com/drapergem/draper"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"
# Uses unpackaged dependencies and it not easy to isolate.
RESTRICT="test"
ruby_add_rdepend "
>=dev-ruby/actionpack-6:*
>=dev-ruby/activemodel-6:*
dev-ruby/activemodel-serializers-xml:1.0
>=dev-ruby/activesupport-6:*
>=dev-ruby/request_store-1.0.3:0
dev-ruby/ruby2_keywords"
each_ruby_test() {
${RUBY} -S rspec-3 spec/draper || die
}