-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix detection of global Ruby version #111
Comments
Not sure if this is related or not but when I use zoxide's |
If it helps, I can recreate this behavior on my machine too. Originally, when I wrote the above issue, I thought maybe I had misconfigured Frum but, turns out, I'm usually always using the same version of Ruby when using Zoxide to jump between Ruby projects so didn't realize the difference was between Zoxide and |
Overview
After installing and upgrading to a newer version of Ruby, I'm not seeing Frum detect and automatically switch to the global version.
Steps to Recreate
frum install 3.0.3
.printf "%s\n" "3.0.3" > ~/.ruby-version
frum versions
.~/.ruby-version
and automatically update the global version to the new version. Instead, it is pointing to the previous version. See screenshot:Desired Behavior
When the global Ruby version is updated
~/.ruby-version
, I would expect Frum to detect this change and update it's global alias accordingly.The workaround for fixing this is to run
frum global 3.0.3
. This will manually update Frum to use the right global version but since other versions managers do this automatically for you, it'd be nice if Frum could automatically do this without having to remember to run this extra step manually.Environment
The text was updated successfully, but these errors were encountered: