Bug #15550
openWindows - gem bin files - can't run from bash shell
Description
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.
Thanks, Greg
Updated by MSP-Greg (Greg L) almost 6 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...
Updated by MSP-Greg (Greg L) almost 6 years ago
- Subject changed from RubyGems bin files - from two to one... to Windows - gem bin files - can't run from bash shell
Updated by hsbt (Hiroshi SHIBATA) over 5 years ago
- Status changed from Open to Assigned
- Assignee set to hsbt (Hiroshi SHIBATA)