Issue #5060 has been updated by Eric Hodel.

Status changed from Assigned to Closed

Since I committed r32608 and r32611 I think this issue is now invalid.

If a different version of rake or rdoc are installed they will behave the same as the bundled library.  rake _0.9.2.1_ will load the built-in version of rake, for example.  If a newer version of RDoc were installed rdoc and ri would behave the same.

I'm closing this ticket unless differing behavior can be reproduced.
----------------------------------------
Bug #5060: Executables in bin folder conflict with their gem versions.
http://redmine.ruby-lang.org/issues/5060

Author: Vit Ondruch
Status: Closed
Priority: Normal
Assignee: Eric Hodel
Category: 
Target version: 1.9.x
ruby -v: 1.9.3


It would be nice if the executables for rdoc, rake, ri, etc. locate in bin folder, would be standard RubyGems stubs. Otherwise, once there is installed version of such library as a gem, the original file is rewritten and the functionality of bundled library is lost.

But my main concern is the conflict between ruby and gem executables, since it makes packaging for Linux distributions hard (for Fedora and RHEL in my case).


-- 
http://redmine.ruby-lang.org