ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:98745] [Ruby master Bug#16953] Windows bash bin files removed in master
@ 2020-06-11 18:36 Greg.mpls
  2021-10-14 22:56 ` [ruby-core:105637] " jeremyevans0 (Jeremy Evans)
  2021-10-15  1:57 ` [ruby-core:105638] " MSP-Greg (Greg L)
  0 siblings, 2 replies; 3+ messages in thread
From: Greg.mpls @ 2020-06-11 18:36 UTC (permalink / raw)
  To: ruby-core

Issue #16953 has been reported by MSP-Greg (Greg L).

----------------------------------------
Bug #16953: Windows bash bin files removed in master
https://bugs.ruby-lang.org/issues/16953

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.8.0dev (2020-06-11T15:55:31Z master 631c01f5ae) [x64-mingw32]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
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.



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:105637] [Ruby master Bug#16953] Windows bash bin files removed in master
  2020-06-11 18:36 [ruby-core:98745] [Ruby master Bug#16953] Windows bash bin files removed in master Greg.mpls
@ 2021-10-14 22:56 ` jeremyevans0 (Jeremy Evans)
  2021-10-15  1:57 ` [ruby-core:105638] " MSP-Greg (Greg L)
  1 sibling, 0 replies; 3+ messages in thread
From: jeremyevans0 (Jeremy Evans) @ 2021-10-14 22:56 UTC (permalink / raw)
  To: ruby-core

Issue #16953 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Open to Feedback

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

----------------------------------------
Bug #16953: Windows bash bin files removed in master
https://bugs.ruby-lang.org/issues/16953#change-94127

* Author: MSP-Greg (Greg L)
* Status: Feedback
* Priority: Normal
* ruby -v: ruby 2.8.0dev (2020-06-11T15:55:31Z master 631c01f5ae) [x64-mingw32]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
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.



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:105638] [Ruby master Bug#16953] Windows bash bin files removed in master
  2020-06-11 18:36 [ruby-core:98745] [Ruby master Bug#16953] Windows bash bin files removed in master Greg.mpls
  2021-10-14 22:56 ` [ruby-core:105637] " jeremyevans0 (Jeremy Evans)
@ 2021-10-15  1:57 ` MSP-Greg (Greg L)
  1 sibling, 0 replies; 3+ messages in thread
From: MSP-Greg (Greg L) @ 2021-10-15  1:57 UTC (permalink / raw)
  To: ruby-core

Issue #16953 has been updated by MSP-Greg (Greg L).


@jeremyevans0

Thanks.  Everything seems fine wiht 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...

----------------------------------------
Bug #16953: Windows bash bin files removed in master
https://bugs.ruby-lang.org/issues/16953#change-94128

* Author: MSP-Greg (Greg L)
* Status: Feedback
* Priority: Normal
* ruby -v: ruby 2.8.0dev (2020-06-11T15:55:31Z master 631c01f5ae) [x64-mingw32]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
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.



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-15  1:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 18:36 [ruby-core:98745] [Ruby master Bug#16953] Windows bash bin files removed in master Greg.mpls
2021-10-14 22:56 ` [ruby-core:105637] " jeremyevans0 (Jeremy Evans)
2021-10-15  1:57 ` [ruby-core:105638] " MSP-Greg (Greg L)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).