Project

General

Profile

Actions

Bug #16953

closed

Windows bash bin files removed in master

Added by MSP-Greg (Greg L) over 2 years ago. Updated 12 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.8.0dev (2020-06-11T15:55:31Z master 631c01f5ae) [x64-mingw32]
[ruby-core:98745]

Description

Master is not creating bash bin files for Windows builds, only files with extensions cmd or bat.

Although running Ruby from a bash shell in Windows is probably uncommon, some repo's CI can only be run from a bash shell. A good example is Bundler. With a correctly setup bash shell, it passes with Ruby 2.4 thru master. See https://github.com/MSP-Greg/rubygems/actions/runs/131762536

At present, I'm adding the files to ruby-loco's mingw & mswin builds (and also changing #!/usr/bin/env ruby to #! ruby), but having them installed natively would be helpful.

Updated by jeremyevans0 (Jeremy Evans) 12 months ago

  • Status changed from Open to Feedback

@MSP-Greg (Greg L) Can you figure out which commit caused this issue? I tried looking for commits before 631c01f5ae, but I was not able to find a likely culprit.

Updated by MSP-Greg (Greg L) 12 months ago

@jeremyevans0 (Jeremy Evans)

Thanks. Everything seems fine with master. I looked at a commit somewhat later than the version listed (2020-06-11), and all the bin stubs were contained in the bin folder. Today, they are generated in another manner; they're not in the bin folder.

But, the current ruby_3_0 branch does have the bin stubs in the bin folder, so 3.0 may have the issue. I'll build that soon and report back...

Actions

Also available in: Atom PDF