Issue #15550 has been updated by hsbt (Hiroshi SHIBATA).

Assignee set to hsbt (Hiroshi SHIBATA)
Status changed from Open to Assigned

----------------------------------------
Bug #15550: Windows - gem bin files - can't run from bash shell
https://bugs.ruby-lang.org/issues/15550#change-77205

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-01-19 trunk 66872) [x64-mingw32]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>