-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Avoid breaking gem extensions when aliased Ruby becomes versioned formula #161546
Comments
Because Ruby 3.3 exists now.
|
Thank you @Bo98! That explains why. The reason I found this is that our Fastlane scripts broke after the update. Apparently |
Thanks for the context. There's probably somewhere in the RbConfig that's pointing to |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I think it is just from the install name, which is used when linking |
Hmm yeah, that makes sense. Might be worthing seeing if it makes sense to change the install name to be |
If we want to support scenario of user installing via alias (e.g. Not sure if there is any use case of the unversioned symlink (i.e. Assuming Ruby expects major/minor API versioned libs/paths, then we can explore one of above approaches. EDIT: In case of swapping formula and alias, the limitation is when we just want the latest/linked copy as we don't allow depending on an alias. For Linux, |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output" saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Install ruby@3.2
What happened (include all command output)?
It installed, but didn't create all the required symlinks. Only:
lrwxr-xr-x 1 admin admin 24 Jan 31 15:29 ruby@3.2 -> ../Cellar/ruby@3.2/3.2.3
What did you expect to happen?
That it would create all required symlinks, as it did for 3.2.2:
lrwxr-xr-x 1 admin admin 22 Jan 4 17:53 ruby -> ../Cellar/ruby/3.2.2_1
lrwxr-xr-x 1 admin admin 22 Jan 4 17:53 ruby@3 -> ../Cellar/ruby/3.2.2_1
lrwxr-xr-x 1 admin admin 22 Jan 4 17:53 ruby@3.2 -> ../Cellar/ruby/3.2.2_1
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: