Created
December 23, 2008 17:44
-
-
Save dwalters-zz/39400 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Site/1.8/rubygems/commands/cleanup_command.rb.dist 2008-12-23 11:44:35.000000000 -0600 | |
+++ Site/1.8/rubygems/commands/cleanup_command.rb 2008-12-23 11:42:43.000000000 -0600 | |
@@ -71,6 +71,7 @@ | |
options[:args] = [spec.name] | |
options[:version] = "= #{spec.version}" | |
options[:executables] = false | |
+ options[:install_dir] = File.dirname(File.dirname(spec.loaded_from)) if spec.loaded_from | |
uninstaller = Gem::Uninstaller.new spec.name, options | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment