Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572548 - dev-ruby/rdoc-4.2.1:0 does not create either rdoc or ri binaries in /usr/bin for ruby-2.3
Summary: dev-ruby/rdoc-4.2.1:0 does not create either rdoc or ri binaries in /usr/bin ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-21 18:22 UTC by Harris Landgarten
Modified: 2016-02-10 06:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2016-01-21 18:22:09 UTC
When RUBY_TARGETS includes ruby2_3 the rdoc ebuild builds for ruby-2.3

However the script that creates /usr/bin binaries is hard coded for 20 21 22 and therefore does not create /usr/bin/rdoc-23 or /usr/bin/ri-23

This is the offending routine:

		for version in 20 21 22; do
			if use ruby_targets_ruby${version}; then
				ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version}
				sed -i -e "1s/env ruby/ruby${version}/" \
					"${ED}/usr/bin/${bin}${version}" || die
			fi
		done
	done

This bug causes other ebuilds like hoe to fail
Comment 1 Hans de Graaff gentoo-dev Security 2016-02-10 06:26:15 UTC
Thanks for the report. This is now fixed with rdoc-4.2.2