Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424611 - dev-lang/ruby:1.9 should depend on virtual/rubygems
Summary: dev-lang/ruby:1.9 should depend on virtual/rubygems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 13:54 UTC by Hans de Graaff
Modified: 2012-07-07 07:48 UTC (History)
1 user (show)

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 Hans de Graaff gentoo-dev Security 2012-07-03 13:54:52 UTC
Due to the new and tighter intregration in ruby 1.9 with rubygems it is no longer possible to install ruby 1.9 without also installing rubygems. 

$ ruby19
/usr/lib64/ruby/1.9.1/rubygems.rb:30:in `require': cannot load such file -- rubygems/defaults (LoadError)
	from /usr/lib64/ruby/1.9.1/rubygems.rb:30:in `<top (required)>'
	from <internal:gem_prelude>:1:in `require'
	from <internal:gem_prelude>:1:in `<compiled>'

Most likely we need to PDEPEND on virtual/rubygems in this case, but this needs testing to make sure this also works when bootstrapping.
Comment 1 Hans de Graaff gentoo-dev Security 2012-07-07 07:37:03 UTC
Fixed in ruby-1.9.3_p194-r1 by adding a PDEPEND on dev-ruby/rubygems.