[Rubygems-developers] [ rubygems-Bugs-28993 ] "gem uninstall" and --format-executable

noreply at rubyforge.org noreply at rubyforge.org
Tue Mar 1 23:04:20 EST 2011


Bugs item #28993, was opened at 2011-02-24 09:57
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28993&group_id=126

Category: `gem install` command
Group: None
Status: Open
>Resolution: Accepted
Priority: 3
Submitted By: Sven Schwyn (svoop)
>Assigned to: Ryan Davis (zenspider)
>Summary: "gem uninstall" and --format-executable

Initial Comment:
I'm observing the following issue on my Gentoo box with several Rubies (MRI 1.8 and 1.9) installed:

cat /etc/gemrc
  ---
  gem: --format-executable

gem19 install rake

ls /usr/local/bin
  rake19           # executable installed by Rubygems
  rake -> rake19   # convenience symlink is created by Gentoo

gem uninstall rake

ls /usr/local/bin
  rake19

Apparently, the "gem uninstall" command does not honor --format-executable.

Wouldn't it be a more consistent behavior if the versioned (or formatted) executable were uninstalled? (Gentoo would then take care of the dead symlink.)


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28993&group_id=126


More information about the Rubygems-developers mailing list