Red Hat Bugzilla – Bug 823221
ruby package should not depend on rubygems
Last modified: 2012-05-21 07:25:40 EDT
Description of problem:
Apologies if I'm missing something, I tried to find a rationale for this on the package page or sources, but couldn't. It seems wrong that ruby (the interpreter) depends on rubygems (a package manager).
Some relevant examples for other languages:
- python does not depend on python-setuptools
- ghc does not depend on cabal-install
- perl does not depend on perl-CPAN
I care because I want to write & test zeroinstall feeds for ruby libraries, and having rubygems installed on the system makes this more complicated (plus I simply don't want it).
I understand your sentiment. However, this was upstream decision to make RubyGems hard dependency. There is possible to build Ruby with disabled RubyGems, but it make break expectation of others.
You may try to submit patch upstream, which would use RubyGems in case they are available and works also fine when they are not present on the system (e.g. change gem_prelude.rb file to contains something like:
), but I doubt it would be accepted since there are talks about gemyfying stdlib, etc.
Thanks for the explanation, Vit. I am used to debian which ships ruby on its own, but I also know that people moan about debian breaking rubygems ;). I might see what they do, and possibly roll my own ruby install if it's not too hairy.