-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Only remove bundler plugin gem when it's inside the cache #7001
Only remove bundler plugin gem when it's inside the cache #7001
Conversation
Can you retry the actions? It looks like they failed due to intermittent network issues trying to reach rubygems.org. |
I retried but it still failed. Does the new spec run fine for you locally? |
Yes, the new spec runs fine for me on Mac, Ruby 3.1. The failures in GitHub Actions are for specs completely unrelated to plugins. |
I'm seeing this, which is the spec you added here, right?
|
Oh man, I apologize. I was reading the output wrong. Yes, that's my new spec. I was seeing the |
Ohhhhhh.... that's why. The spec uses |
Aaaah right, that makes sense! |
ea80237
to
3831234
Compare
Should we instead change the spec here to use |
3831234
to
8d51390
Compare
Looks great, I'll try to merge & release this fix this week! |
…ndored-plugins Only remove bundler plugin gem when it's inside the cache (cherry picked from commit 413386b)
…ndored-plugins Only remove bundler plugin gem when it's inside the cache (cherry picked from commit 413386b)
…ndored-plugins Only remove bundler plugin gem when it's inside the cache (cherry picked from commit 413386b)
…ndored-plugins Only remove bundler plugin gem when it's inside the cache (cherry picked from commit 413386b)
Fixes #6953
What was the end-user or developer problem that led to this PR?
A plugin installed with a local path (i.e. via #6960) would completely remove the external gem when you run
bundle plugin uninstall
.What is your fix for the problem, implemented in this PR?
Ensure that any paths are within the plugin root before removing.
Make sure the following tasks are checked