Patches item #28925, was opened at 2011-02-12 16:22
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=577&aid=28925&group_id=126

Category: other
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: ryenus . (ryenus)
Assigned to: Nobody (None)
Summary: [gem uninstall] executables are removed before dependants checked

Initial Comment:
in Gem::Uninstaller#uninstall_gem,

# problematic code
    remove_executables @spec
    remove @spec, specs

remove_executables is called before the call to remove, and the dependency list 
is checked only in the latter, the problem? the user may have deleted the gem 
executables then only afterward find the gem cannot be removed.

patch uninst_chk.patch attached.


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

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=577&aid=28925&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to