Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322537 - ruby-1.8.7_p249-r2 and rubygems missing (?) "dependency" check
Summary: ruby-1.8.7_p249-r2 and rubygems missing (?) "dependency" check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 05:51 UTC by mjbjr
Modified: 2010-06-03 14:40 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 mjbjr 2010-06-03 05:51:30 UTC
I just installed ruby-1.8.7_p249-r2 and got this message:

>>> Installing (1 of 1) dev-lang/ruby-1.8.7_p249-r2
!!! Warning: Could not set gem symlink
It appears you do not have RubyGems installed for this profile.
(For Ruby 1.8 you have to emerge >=dev-ruby/rubygems-1.2.0-r1)

(I missed that rubygems version requirement(?) )

yet, emerging rubygems installs rubygems-1.3.7 without a "check" or "warning"
or a problem, afaik.

Does ruby-1.8 (still) require rubygems-1.2?

Also, the phrasing of that warning message seems to imply that rubygems should be installed *before* ruby.  That seems unlikely.

---------
>>> Emerging (1 of 1) dev-ruby/rubygems-1.3.7-r1
 * rubygems-1.3.7.tgz RMD160 SHA1 SHA256 size ;-) ...                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                   [ ok ]
 * CPV:  dev-ruby/rubygems-1.3.7-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib ruby_targets_ruby18 userland_GNU

...

>>> Install rubygems-1.3.7-r1 into /var/tmp/portage/dev-ruby/rubygems-1.3.7-r1/image/ category dev-ruby
 * Running install phase for ruby18 ...
RubyGems 1.3.7 installed

���=== 1.3.7 / 2010-05-13





Reproducible: Always
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-06-03 11:50:25 UTC
RubyGems is not a hard dependency. If you want it, you need to install it after emerging Ruby.

I've rephrased the message in eselect-ruby a little.
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-06-03 14:40:55 UTC
Fix is in eselect-ruby-20100603.