-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Your local changes to the following files would be overwritten by merge #183
Comments
Any update to this? |
I've got the same sporadical errors 😞 Any update or workaround?
|
Solved. Found that line to detect where gem stores the DB. Removed all data and updated all from scratch. |
@paranoicsan can you explain what you mean by this:
Also, is there any release coming soon for this ? |
@sandipsubedi I just deleted my local copy of the advisory database. And the next update went smoothly. |
I'm not sure where these local changes are coming from, but maybe we could force git to wipe out any local changes? |
I have noticed that this happens when using git worktrees and not being in the primary source directory. For example, I have a Example, breaking in a worktree folder:
Works fine:
|
Deleting the advisory database worked for me. In case you're wondering where that database is located like I was, you can pop open
Taken from: |
@bbugh Database#update always ran the |
I tried a bundle_audit:update and got:
Updating ruby-advisory-db ...
From https://github.com/rubysec/ruby-advisory-db
Updating be85e28..614dea0
error: Your local changes to the following files would be overwritten by merge:
README.md
gems/passenger/CVE-2016-10345.yml
Please commit your changes or stash them before you merge.
Aborting
How can i fix it?
The text was updated successfully, but these errors were encountered: