-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
mswin builds are missing bundle executable in Bash #658
Comments
For a long time, ruby-loco had code to modify the binstubs in all windows builds. On 10-Oct, I removed it, as RubyGems/Bundler updated their code. I'm looking at it. Also, I'm adding |
This is kind of strange, and I could repro it locally. Now that I check the title, it's not correct. The issue is that What's being called a 'prolog' was added to the Windows binstubs, and allows the following (done with a PWD that might as well be HOME). Used the MSYS2 bash shell): This shows the Ruby in PATH (ucrt):
This also uses the Ruby in PATH, and shows ucrt folders & Ruby.
This exec's bundle in another Ruby install (hard path), and the prolog switches the Ruby to the Ruby exec in the same folder as the bundle exec, which is the mswin folder:
|
Ah so this prolog causes |
Still happening for mingw, mswin and ucrt e.g. on #665 |
https://github.com/ruby/setup-ruby/actions/runs/11391394046/job/31695188901?pr=657
cc @MSP-Greg
The text was updated successfully, but these errors were encountered: