-
Notifications
You must be signed in to change notification settings - Fork 789
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
brew upgrade requires reinstalling plugins #797
Comments
Hi @jdsutherland the Homebrew package is not created or maintained by any of the @asdf-vm/core team, it was created by someone in the community. First off, given our small number of dependencies, we highly recommend installing via Git. It is the method we directly support and perform non-destructive updates. That said, the
I suspect that the brew installation removes the old installation dir and then installs the new in the same place. By default, all plugins, shims and installs land in the same place that asdf is installed. You can configure the install location of plugins and installations with the I'm unsure how Homebrew installation will read these env vars though and if the Homebrew Formula needs to change. |
You're correct. Thanks for the response. I don't know enough about Homebrew to add much but given the current behavior, I think it might be better if the asdf formula didn't exist. Going forward, I will install with git as recommended. |
We might need to update the docs if setting |
I also installed asdf with Homebrew but haven't seen the described behavior. All my installed asdf plugins are retained over upgrades via Homebrew.
|
A few questions then:
@jdsutherland |
Regular
|
I can also say I know of one other person who has had the same issue I've had. Here's part of a commit message from their dotfiles:
|
@jdsutherland Are you overriding The |
I don't recall exactly but I had some issue when initially moving to asdf and found thoughtbot/dotfiles#577 (comment) via google, which I copied into my .zshrc:
I suspect this is the problem? |
@jdsutherland I would suggest scrapping your |
@jthegedus I've done so and all was well until I recently restarted my machine and now asdf shows no plugins being installed.
Files remain intact:
Any idea? |
@jdsutherland Your installs are under You can copy or move the respective directories to the default asdf-vm data directory at
|
I'll remove this as an issue in #785 as this was an individual setup causing the issue. Thanks for helping @joschi @jdsutherland I'm going to close this, feel free to reopen if this isn't completely solved for you |
I should preface this by saying I'm fairly new to asdf. I just ran
brew upgrade
which included an update for asdf. I wasn't expecting this to wipe asdf and require reinstalling plugins.The text was updated successfully, but these errors were encountered: