eselect-ruby switches between available ruby packages (using symlinks) - it would be nice if it cleaned after itself (leftovers of symlinks to ruby executables).
What version of eselect-ruby, and can you give specific examples of what you mean when you say that there are "leftovers of symlinks"?
Current latest stable for most architectures: app-admin/eselect-ruby-20081227 But that doesn't matter as any eselect-ruby ebuilds are mostly identical. And I'm talking about files (looks like ${ROOT} with additional slash was appended, not sure whether that changes anything if there's no symlink removal code in pkg_postrm): /usr/bin/erb -> (broken link to) //usr/bin/erb18 /usr/bin/irb -> (broken link to) //usr/bin/irb18 /usr/bin/rdoc -> (broken link to) //usr/bin/rdoc18 /usr/bin/ri -> (broken link to) //usr/bin/ri18 /usr/bin/ruby -> (broken link to) //usr/bin/ruby18 /usr/bin/testrb -> (broken link to) //usr/bin/testrb Steps to reproduce: 1. emerge -va1 ruby 2. eselect ruby set 1 3. emerge -C ruby --depclean (or manually uninstall eselect-ruby)
gotcha. thanks for the info, I'll look into it.
(In reply to comment #3) > gotcha. thanks for the info, I'll look into it. > ...and will attach a patch, if I come up with something.
Fixed in Git, scheduled for release and CVS inclusion at the next ruby revbump/patchlevel bump. Thanks!
Just added eselect-ruby-20090909 to CVS, it includes the fix.