-
Notifications
You must be signed in to change notification settings - Fork 822
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
asdf 0.16.0+ asdf shell
alternative
#1911
Comments
Since
|
I think I prefer this over the |
I too miss the functionality of |
A temporary wordaround for zsh users with completion support: https://gist.github.com/maple3142/8333a5732bb200e3a1fbad097e80c9ef |
Is your feature request related to a problem? Please describe
Before 0.16.0, it was quite handy to be able to set a version for the current shell session. e.g. for no downtime ruby deployments, I could install the new ruby version, use
asdf shell
to switch to it without the current shell, and install the required rubygems via bundler before switching our app over to use it.Describe the proposed solution
Reimplement
asdf shell
(orasdf set --shell
) so that asdf versions can be overwritten for the current shell environmentDescribe similar
asdf
features and why they are not sufficientWith
asdf shell
gone, the only solution is to useasdf set
, which overwrites tool-versions, which means when the application next boots up or scales up automatically, it uses the changed ruby version which might not be ready yet.Describe other workarounds you've considered
I guess a work around would be to make a new directory, create a tool-versions there, a copy over the Gemfile and Gemfile.lock, but this is cumbersome compared to a quick
asdf shell ruby 3.4.1
(or using the new set,asdf set --shell ruby 3.4.1
)The text was updated successfully, but these errors were encountered: