Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bundle clean --force leave default gem executables untouched #3907

Merged
merged 1 commit into from Sep 15, 2020

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user or developer problem that led to this PR?

The problem is that running bundle clean --force on any application will remove any executables from default gems, leaving those default gems unusable.

What is your fix for the problem, implemented in this PR?

My fix is to avoid touching default gems at all when running bundle clean --force.

Writing a spec for this fix requires a bug fix in rubygems, so this PR is built on top of #3906.

Fixes #3757.

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

@deivid-rodriguez deivid-rodriguez merged commit b2a2435 into master Sep 15, 2020
@deivid-rodriguez deivid-rodriguez deleted the dont_clean_default_gems branch September 15, 2020 15:04
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Make `bundle clean --force` leave default gem executables untouched

(cherry picked from commit b2a2435)
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Make `bundle clean --force` leave default gem executables untouched

(cherry picked from commit b2a2435)
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Make `bundle clean --force` leave default gem executables untouched

(cherry picked from commit b2a2435)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Make `bundle clean --force` leave default gem executables untouched

(cherry picked from commit b2a2435)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Make `bundle clean --force` leave default gem executables untouched

(cherry picked from commit b2a2435)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Make `bundle clean --force` leave default gem executables untouched

(cherry picked from commit b2a2435)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bundle clean --force removes default gem executables
2 participants