Skip to content

[#28806] Re-install of a gem can leave prior gem files remaining (take 2)#29

Merged
3 commits merged into
ruby:masterfrom
dekellum:pristine-install.2
Feb 16, 2011
Merged

[#28806] Re-install of a gem can leave prior gem files remaining (take 2)#29
3 commits merged into
ruby:masterfrom
dekellum:pristine-install.2

Conversation

@dekellum

@dekellum dekellum commented Feb 4, 2011

Copy link
Copy Markdown
Contributor

This is rework of patch #18 where I've rebased to master and added the requested test case.

This patch addresses the issue described in tracker #28806 on rubyforge:

http://rubyforge.org/tracker/index.php?func=detail&aid=28806&group_id=126&atid=575

In summary, it assures that older same-version gem files are removed before a gem is installed.

A case of this arises from 72d751e in combination with the HACK of
test_gem_uninstaller:14, adding executables to the spec not found in
the test gem. It should be harmless to only chmod existing files, and
silently ignore missing executables in any case.
@drbrain

drbrain commented Feb 17, 2011

Copy link
Copy Markdown
Member

Applied!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants