Windows - gem bin files - can't run from bash shell
As I recall, ruby-loco is no longer touching the gem related files located in the bin folder. Previously, there were two files associated with each gem, one with a .cmd/.bat extension, one without.
Currently, there is just one file with a .cmd extension. I have seen this before, and just came across it again, where gems are using *nix scripts run with either the MSYS2 shell or the Git shell in their CI. Hence, there is an expectation for the plain (extensionless) file to exist.
Not sure if this is considered a breaking change or a bug/issue.
Updated by MSP-Greg (Greg L) over 2 years ago
An easy way to repo this is to open the Git bash shell, and run
bundle version. I got an error message of:
bash: /c/Greg/Ruby99-x64/bin/bundle: No such file or directory
I believe the MSYS2 shell changes PATH, the Git Bash shell does not. Or,
ruby -v works in Git, but not MSYS2...