Project

General

Profile

Activity

From 04/19/2020 to 04/25/2020

04/25/2020

05:48 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
As there is no immediate rejection, I updated the implementation, making it more robust.
@Dan0042, I tried to make edge cases consistent, so now they are...
```ruby
(0..20).to_a[10.step(by: -2)]
# => [10, 8, 6, 4, 2, 0] -- avoids...
zverok (Victor Shepelev)
05:01 PM Revision 9fd3f243 (git): * 2020-04-26 [ci skip]
git[bot]
05:00 PM Revision 7ccb7a99 (git): [DOC] explicit_bzero exists in modern Linux
[ci skip] sorah (Sorah Fukumori)
02:27 PM Feature #16817 (Open): attr_predicate or attr_query or attr_something for ? methods
I would like `attr_predicate` like attr_reader etc.
`attr_predicate :cat` would define a method named `:cat?` that returned the value for ivar `@cat`.
I would like this because i find myself writing this:
```
def cat?
@cat
en...
robotdana (Dana Sherson)
08:52 AM Revision fefb5faf (git): More enums are mandatory for rp in lldb_cruby.py
nobu (Nobuyoshi Nakada)
08:05 AM Feature #16816: Prematurely terminated Enumerator should stay terminated
Thank you, I've fixed the link. headius (Charles Nutter)
04:56 AM Revision 7c88bb3e (git): fetch-bundled_gems.rb: Fixed the position of -c
nobu (Nobuyoshi Nakada)
04:16 AM Revision f12f9f51 (git): fetch-bundled_gems.rb: Quiet detached HEAD advice
nobu (Nobuyoshi Nakada)
03:15 AM Revision c2700379 (git): `git co` is alias of `git checkout`
hsbt (Hiroshi SHIBATA)
12:29 AM Revision 42ac3f79 (git): Assert that typed data is distinguished from non-typed
nobu (Nobuyoshi Nakada)

04/24/2020

11:05 PM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
Did you mean`any->as.data.dfree`? It points to no valid location.
```
(gdb) print any->as.data
$4 = {basic = {flags = 12, klass = 2930849422520}, dmark = 0x0, dfree = 0x1,
data = 0x2aa6449f9e0}
(gdb) print any->as.typeddata
$5 = {basic...
ReiOdaira (Rei Odaira)
06:38 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
> disappeared on April 15.
You may know, but the test has been skipped on s390x since 9948addda67f4b7a6e3575f1eba9025f998811d2.
mame (Yusuke Endoh)
06:07 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
Where does `any->as.data.free` point?
Is `any->as.basic.klass` a valid class object?
If you compile gc.c as `make DEFS=-DGC_DEBUG gc.o`, `any->file` and `any->line` have the location in ruby level, and could help you.
nobu (Nobuyoshi Nakada)
05:31 AM Bug #16814 (Closed): Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
A segmentation fault almost always happens in test/ruby/test_fiber.rb with certain commits of latest Ruby on s390x.
```
$ make test-all TESTS=test/ruby/test_fiber.rb
Run options:
--seed=90044
"--ruby=./miniruby -I./lib -I. -I....
ReiOdaira (Rei Odaira)
10:04 PM Feature #16816: Prematurely terminated Enumerator should stay terminated
( Just a brief typo-correction, I think you meant the link https://github.com/jruby/jruby/issues/6157 and not https://github.com/jruby/jruby/issue/6157 ) shevegen (Robert A. Heiler)
08:36 PM Feature #16816: Prematurely terminated Enumerator should stay terminated
A simpler way to say why I believe this is a bug...
If I have an Enumerator with custom logic, and it is constructed and used once, I expect the iteration block will be entered *exactly* once and exited *exactly* once.
headius (Charles Nutter)
08:34 PM Feature #16816 (Open): Prematurely terminated Enumerator should stay terminated
When iterating over an Enumerator, there are three different possible results of calling `next`:
1. The next item is returned and a cursor is advanced
2. There's no next item and the Enumerator will forever raise `StopIteration`
3. ...
headius (Charles Nutter)
05:49 PM Revision cc8f55e9 (git): [ruby/rdoc] HOME is preserved by RDoc::TestCase
https://github.com/ruby/rdoc/commit/6c4801d1f6 nobu (Nobuyoshi Nakada)
05:49 PM Revision ae235db2 (git): [ruby/rdoc] Should teardown in reverse order of setup
https://github.com/ruby/rdoc/commit/00fb4dd2a3 nobu (Nobuyoshi Nakada)
05:36 PM Revision cf5b3d67 (git): * 2020-04-25 [ci skip]
git[bot]
05:35 PM Revision c6020ba2 (git): Clear cached XDG path names
nobu (Nobuyoshi Nakada)
02:24 PM Revision 21598b0c (git): Fixed a typo [ci skip]
nobu (Nobuyoshi Nakada)
12:22 PM Revision c5b17b03 (git): Remove and Restore the original HOME dir (#3057)
hsbt (Hiroshi SHIBATA)
12:08 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
> We already have situations in JRuby and TruffleRuby where unsynchronized access to shared mutable state can cause a crash or data corruption. So why is this different?
Let's not introduce more bugs (and IMHO those bugs should be fix...
Eregon (Benoit Daloze)
10:23 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
> It's of course unacceptable if a Ruby implementation behaves unsafely (e.g., crashes or loses fiber local variable) for this, so it is a relevant concern for this issue.
We already have situations in JRuby and TruffleRuby where unsy...
ioquatix (Samuel Williams)
09:05 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
To make it clearer about "clean API": if we have Fiber#[] and Thread#[] then Thread#[] is just deceptive and doesn't do anything different.
OTOH, with Fiber[:foo] and Thread[:foo] we can actually have the intuitive semantics.
Eregon (Benoit Daloze)
08:37 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
@ioquatix Please create a separate feature ticket for `Fiber#backtrace`, as already asked by nobu in https://bugs.ruby-lang.org/issues/8215#note-5
I'd like to keep the discussion here about Fiber locals, not mix it with an unrelated meth...
Eregon (Benoit Daloze)
10:40 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
Attaching version "v7" of the patch. This version corresponds with the changes I just pushed on my [ads/b.r-l.o-issue-16787](https://github.com/salewski/ruby/tree/ads/b.r-l.o-issue-16787) branch for [PR 3034](https://github.com/ruby/ruby... salewski (Alan Salewski)
09:32 AM Revision 5b8c36df (git): [DOC] Added GNU make specific targets [ci skip]
nobu (Nobuyoshi Nakada)
09:32 AM Revision 04a55763 (git): [DOC] Split "How to run a part of the test suite" [ci skip]
nobu (Nobuyoshi Nakada)
09:26 AM Feature #16786: Light-weight scheduler for improved concurrency.
I think `Fiber()` is OK after your replies, if it raises if there is no scheduler so there is no silent error. It would just need good documentation.
`Fiber.new(blocking: false)` should be clearly marked as "should only be used by sch...
Eregon (Benoit Daloze)
09:10 AM Feature #16786: Light-weight scheduler for improved concurrency.
I asked for more feedback from community.
https://twitter.com/ioquatix/status/1251024336502190081
- `Fiber do ... end`: ~49% like it.
- `AsyncFiber do ... end`: ~27% like it.
- `Fiber.new(blocking:false) do ... end.resume`: ~20% ...
ioquatix (Samuel Williams)
08:57 AM Feature #16815: Implement Fiber#backtrace
I think this makes sense and can definitely be useful for debugging.
If called on a `Fiber` of another `Thread`, that might be slow on non-GIL implementations, but that's the same as `Thread#backtrace` so I think not really an issue.
Eregon (Benoit Daloze)
08:56 AM Feature #16815: Implement Fiber#backtrace
Use `Thread#backtrace` as example. ioquatix (Samuel Williams)
08:53 AM Feature #16815 (Closed): Implement Fiber#backtrace
Previously discussed here: https://bugs.ruby-lang.org/issues/8215
Add a new method `Fiber#backtrace`. It would produce a backtrace similar to how `Thread#backtrace` works.
ioquatix (Samuel Williams)
07:46 AM Revision 9fb20711 (git): [ruby/reline] Treat home dir correctly
https://github.com/ruby/reline/commit/9b1327d2f4 aycabta (aycabta .)
07:45 AM Revision 81b0b791 (git): [ruby/reline] Support XDG_CONFIG_HOME
In the XDG Specification, if ~/.config/readline/inputrc exists, then ~/.inputrc
should not be read, but for compatibility with GNU Readline, if ~/.inputrc
exists, then it is given priority.
https://github.com/ruby/reline/commit/97f1e7db04
aycabta (aycabta .)
07:21 AM Bug #16800 (Closed): [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
Closing. Let me know if you can still reproduce the issue on mastar. mame (Yusuke Endoh)
05:13 AM Misc #16775: DevelopersMeeting20200514Japan
* [Feature #16806] Struct#initialize accepts keyword arguments too by default (k0kubun)
* This obviates `keyword_init: true`. Is the described incompatibility and release plan (3.0: warn, 3.1: introduce) acceptable?
k0kubun (Takashi Kokubun)
02:11 AM Misc #16775: DevelopersMeeting20200514Japan
- [Feature #16815] Introduce `Fiber#backtrace`. (ioquatix)
- Add `Fiber#backtrace` which gets any fiber backtrace. Very useful for debugging fiber state.
- [Feature #16786] Light weight scheduler for improved concurrency. (ioquatix)
...
ioquatix (Samuel Williams)
05:09 AM Feature #16812 (Assigned): Allow slicing arrays with ArithmeticSequence
I'm positive this if the behavior is the same as Python's list slicing.
If the behavior will be different from Python's, I'm negative because it confuses PyCall users.
mrkn (Kenta Murata)
04:08 AM Feature #16812: Allow slicing arrays with ArithmeticSequence
A few bugs.
* `Float` `ArithmeticSequence` crashes.
```shell
$ ./ruby -e '[*0..10][(0.0..)%10]'
Assertion Failed: ../src/include/ruby/3/arithmetic/long.h:136:ruby3_fix2long_by_shift:"RB_FIXNUM_P(x)"
```
* If o...
nobu (Nobuyoshi Nakada)
12:19 AM Feature #16812: Allow slicing arrays with ArithmeticSequence
Theoretically I'm in favor but there's some edge cases that need consideration.
```ruby
nums = (0..20).to_a
s = 10.step(by: -2) # 10, 8, 6, 4, 2, 0, -2, ...
nums[s] #=> [10, 8, 6, 4, 2, 0, 19, 17, ...] ???
s = (-5..5) % 2 # -5...
Dan0042 (Daniel DeLorme)
03:23 AM Bug #16813 (Closed): Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
Applied in changeset commit:git|ac2106acc276854ae2ac8cc5fa6859aa28362f2f.
----------
[DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]
nobu (Nobuyoshi Nakada)
03:23 AM Revision 71f84018 (git): * 2020-04-24 [ci skip]
git[bot]
02:18 AM Revision cf90df22 (git): [DOC] Separated Method#[] from Method#call [Bug #16813] [ci skip]
nobu (Nobuyoshi Nakada)
02:16 AM Revision ac2106ac (git): [DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]
nobu (Nobuyoshi Nakada)

04/23/2020

09:49 PM Bug #16813 (Closed): Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
## https://ruby-doc.org/core-2.7.1/Method.html#method-i-5B-5D
`meth[args, ...] → obj` has the correct explanation, but contains the example for `#call` instead of `#[]`
## https://ruby-doc.org/core-2.7.1/Method.html#method-i-3E-3E
`...
SampsonCrowley (Sampson Crowley)
08:44 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
@Eregon, I wanted at first to see what people say about this one :)
`Array#[]=` is a thing that should be kinda "symmetric", but playing a bit with it, I understood that I am afraid of trying to guess what would be "logical".
Hon...
zverok (Victor Shepelev)
08:04 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
Rather neutral on this, but would you want that to work for `Array#[]=` too?
I would be against `Array#[]=` as it's already so complicated and that would just make it a lot more so.
In `Array#[]` it's probably fine though.
Eregon (Benoit Daloze)
03:32 PM Feature #16812 (Closed): Allow slicing arrays with ArithmeticSequence
I believe when concepts of ArithmeticSequence and `Range#%` were introduced, one of the main intended usages was array slicing in scientific data processing. So, it seems to make sense to allow this in `Array#[]`:
```ruby
ary[(5..20)...
zverok (Victor Shepelev)
03:41 PM Misc #16775: DevelopersMeeting20200514Japan
* [Feature #16812] Allow slicing arrays with ArithmeticSequence (zverok)
* `ary[(5..20) % 2]`—each second element between 5 and 20
* `ary[(0..) % 3]`—each third element
* `ary[10.step(by: -1)]`—elements 10, 9, 8, 7 ....
* Pyt...
zverok (Victor Shepelev)
03:20 PM Bug #16811 (Feedback): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont
This appears to happen when loading fiddle:
```
C:\metasploit\ruby\bin\x64-msvcrt-ruby250.dll(rb_bug_context+0x6f) [0x0000000067F3B59F]
C:\metasploit\ruby\bin\x64-msvcrt-ruby250.dll(rb_check_safe_obj+0xd7) [0x00000000680257B7]
[0x0...
jeremyevans0 (Jeremy Evans)
03:01 PM Bug #16811 (Closed): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont

C:\metasploit>console.bat
C:/metasploit/apps/pro/vendor/bundle/ruby/2.5.0/gems/rb-readline-0.5.5/lib/rbreadline.rb:4434: [BUG] Illegal instruction
ruby 2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]
-- Control frame informati...
alamin (Al AMIN)
01:19 PM Revision 0f5ae7a2 (git): Fixed inverted current thread condition [Bug #16808]
nobu (Nobuyoshi Nakada)
12:42 PM Bug #16808 (Closed): Thread#name= only accepts up to 15 characters with Linux/pthread implementation
Applied in changeset commit:git|a52a459b16ce1b5cf32cb6393960ff59e35c48d0.
----------
Truncate too long thread name before setting [Bug #16808]
nobu (Nobuyoshi Nakada)
06:16 AM Bug #16808 (Closed): Thread#name= only accepts up to 15 characters with Linux/pthread implementation
Repro:
irb(main):001:0> RUBY_VERSION
=> "2.7.1"
irb(main):002:0> Thread.new { Thread.current.name = 'abcdefg'; sleep }
=> #<Thread:0x000055584a17e1c8 (irb):2 run>
irb(main):003:0> Thread.new { Thread.current.name = 'abcdefghijklmn...
jiasha (Shan Jiang)
12:42 PM Revision a52a459b (git): Truncate too long thread name before setting [Bug #16808]
nobu (Nobuyoshi Nakada)
12:11 PM Revision 03e4eeab (git): Skip the initialization of XDG_DATA_HOME with Permission denied
hsbt (Hiroshi SHIBATA)
10:45 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
Attaching version "v6" of the patch, which is just another WIP milestone.
Please do not spend too much time with this version -- I'm mainly just documenting where I am currently because I haven't had much time to look at this the last f...
salewski (Alan Salewski)
10:16 AM Revision 5c6269c4 (git): Support XDG_* (#2174)
* Support XDG_CONFIG_HOME for gemrc.
* Support XDG_DATA_HOME for .gem
* Added test for XDG_DATA_HOME
* Do not reuse environmental variable.
* Unify .rdoc path to RDoc.home.
* Support XDG_DATA_HOME for .rdoc
* Ignore exists?
* Extr...
hsbt (Hiroshi SHIBATA)
09:55 AM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
ko1 (Koichi Sasada) wrote in #note-8:
> My conclusion is it is bad idea to share the same code between interpreters.
I believe any alternative Ruby implementation would tell you the opposite: the more shared code the less duplicated ...
Eregon (Benoit Daloze)
05:53 AM Feature #16254 (Assigned): MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
Eregon:
There are two poionts: (1) sharing the code between Ruby implementations and (2) prettier syntax.
# (1) sharing the code between Ruby implementations
I assume it is using same `.rb` code between Ruby implementations.
My conclu...
ko1 (Koichi Sasada)
08:49 AM Bug #16810 (Closed): ruby segfaults on s390x with musl libc
When trying to build mruby-2.1.0 ruby segfaults when running `ruby ./minirake -v`.
I was able to get a backtrace with gdb:
```
Program received signal SIGSEGV, Segmentation fault. ...
ncopa (Natanael Copa)
08:46 AM Revision f563f3c5 (git): RDoc enhancements for Hash[].
burdettelamar (Burdette Lamar)
08:30 AM Misc #16803: Discussion: those internal macros reside in public API headers
Eregon (Benoit Daloze) wrote in #note-1:
> Could you give some pointers or example of other macros introduced in that change?
> ...
Almost every new macros are for portability. For instance `RUBY3_HAS_BUILTIN` is another macro that go...
shyouhei (Shyouhei Urabe)
08:07 AM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
This is still an issue for alpine s390x. See #16809 ncopa (Natanael Copa)
08:05 AM Bug #16809 (Closed): Fiber crashes with --with-coroutine=copy
```
./revision.h unchanged ...
ncopa (Natanael Copa)
06:13 AM Revision 14e013cd (git): [ruby/rdoc] Drop old rubies
* `RbConfig::CONFIG['ridir']` has been set since 1.9.2
* `ENV["HOME"]` has been defaulted to `USERPROFILE` since 1.9.0,
and backported to 1.8.5 or later.
https://github.com/ruby/rdoc/commit/a3a614e676
nobu (Nobuyoshi Nakada)
06:10 AM Feature #16806: Struct#initialize accepts keyword arguments too by default
I agreed with your ideas and reflected them to the description. k0kubun (Takashi Kokubun)
01:44 AM Revision d1f50b98 (git): Initialize the class variable for Minitest::Unit.current_repeat_count
nobu (Nobuyoshi Nakada)
01:25 AM Revision 2e87488d (git): Expand retrying test file names to realpath
As well as worker processes do in Test::Unit::Worker#run. nobu (Nobuyoshi Nakada)
01:24 AM Revision 74c8aaef (git): Just call search_method_protect [Bug #16669]
nobu (Nobuyoshi Nakada)
12:43 AM Revision da5bd004 (git): Test for [Bug #16669]
nobu (Nobuyoshi Nakada)
12:39 AM Revision de9d6a7a (git): Split test_defined
nobu (Nobuyoshi Nakada)

04/22/2020

10:41 PM Bug #16669: Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
I have confirmed `ruby 2.8.0dev (2020-04-22T17:21:38Z master 8119bcbfc0) [x86_64-darwin19]` addresses Rails Action View unit test failures/errors. Thank you. yahonda (Yasuo Honda)
05:22 PM Bug #16669 (Closed): Rails Action Text unit tests fail since b9007b6c548f91e88fd3f2ffa23de740431fa969
Applied in changeset commit:git|8119bcbfc04772fe4012b5ed396a68f02e312316.
----------
rb_method_entry() returns valid me.
search_method() can return invalid method, but vm_defined() checks
it as valid method entry. This is why defined?(...
ko1 (Koichi Sasada)
05:21 PM Revision 8119bcbf (git): rb_method_entry() returns valid me.
search_method() can return invalid method, but vm_defined() checks
it as valid method entry. This is why defined?(foo) if foo is undef'ed.
To solve this problem, check invalidation and return NULL.
[Bug #16669]
https://twitter.com/kamipo...
ko1 (Koichi Sasada)
04:41 PM Revision 492e8599 (git): * 2020-04-23 [ci skip]
git[bot]
04:40 PM Revision 6292271e (git): Fix permission of PATH
https://github.com/ruby/actions/runs/608526685?check_suite_focus=true
`warning: Insecure world writable dir /home/runner/.config in PATH, mode 040777`
znz (Kazuhiro NISHIYAMA)
03:41 PM Bug #16804: Vagrant Up does not work anymore
Please close this. Thank you. xolge (Gerard Bee)
03:41 PM Bug #16804: Vagrant Up does not work anymore
Thank you Jeremy Evans for pointing me to the right direction. I found workaround in one of your links (https://github.com/hashicorp/vagrant/issues/11492) - downgrading Vagrant version. xolge (Gerard Bee)
02:57 PM Feature #16806: Struct#initialize accepts keyword arguments too by default
I'm OK with the basic idea of allowing keyword init for Structs by default. However, because this changes behavior, I think we should keep existing behavior and warn in Ruby 3.0 and not make this change until Ruby 3.1. I think this chan... jeremyevans0 (Jeremy Evans)
06:14 AM Feature #16806 (Closed): Struct#initialize accepts keyword arguments too by default
## Proposal
```rb
Post = Struct.new(:id, :name)
# In addition to this,
Post.new(1, "hello") #=> #<struct Post id=1, name="hello">
# Let the following initialization also work
Post.new(id: 1, name: "hello") #=> #<struct Post i...
k0kubun (Takashi Kokubun)
11:44 AM Revision 1997e10f (git): Made parentheses mandatory in endless method defition
Even for empty argument list, not to be confusing with a writer
method name.
nobu (Nobuyoshi Nakada)
11:44 AM Revision 1fe5bffe (git): Disallow R-assign in endless def
nobu (Nobuyoshi Nakada)
09:56 AM Revision 02ad393c (git): Revert "Allow simple R-assign in endless def"
This reverts commit 67bcac879a2e0ddfb4e7bbd7cb5e5401422de76a. nobu (Nobuyoshi Nakada)
09:49 AM Bug #16807: Ruby 2.7 segfault loading sources under GC.stress
`ID` list in `NODE_SCOPE` seems corrupted.
Maybe a GC compaction related issue?
nobu (Nobuyoshi Nakada)
08:03 AM Bug #16807 (Closed): Ruby 2.7 segfault loading sources under GC.stress
Originally seen in https://github.com/protocolbuffers/protobuf/pull/7386, but reproduces without C extension.
Reproduction: place these four files from [this gist](https://gist.github.com/qnighy/099a39e70e66d8b402b193d4b0471aee):
-...
qnighy (Masaki Hara)
08:21 AM Misc #16747: Repository reorganization request
It should include also better place for default gems:
https://bugs.ruby-lang.org/issues/16778
And also it would be nice if all vendored/bundled code is in dedicated directory if possible, e.g. libraries taken from ccan, onigmo, rub...
vo.x (Vit Ondruch)
01:11 AM Misc #16747: Repository reorganization request
With https://bugs.ruby-lang.org/issues/16254, We should re-organize the top-directory before increasing the files like kernel.c and kernel.rb. hsbt (Hiroshi SHIBATA)
07:13 AM Revision d6ec8da6 (git): Update benchmark-driver version
nobu (Nobuyoshi Nakada)
06:53 AM Misc #16802 (Closed): Prefer use of RHS assigment in documentation
Okay great. For now, I'm satisfied we don't use this in documentation. However if we adopt it I'll consider it again. ioquatix (Samuel Williams)
06:27 AM Revision f00b9231 (git): Revert "* remove trailing spaces. [ci skip]"
This reverts commit 6b04c480487ab64d73e1254be2412e722b7b8bd8.
Trailing spaces separate paragraphs in RDoc format.
nobu (Nobuyoshi Nakada)
01:19 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I agree with `--backtrace-limit`, and actually I use `rb_backtrace_length_limit` in my patch :-)
I'll update my patch if I get a reply from matz.
mame (Yusuke Endoh)
12:34 AM Feature #8661 (Assigned): Add option to print backtrace in reverse order (stack frames first and error last)
jeremyevans0 (Jeremy Evans) wrote in #note-37:
> I agree the option could have a better name. I recommend `--backtrace-limit`, as that indicates a numerical setting, as opposed to `--show-backtrace` or `--print-backtrace`, both of wh...
duerst (Martin Dürst)
01:01 AM Revision 5ce78355 (git): Update benchmark-driver version
nobu (Nobuyoshi Nakada)
12:49 AM Revision 17083011 (git): support builtin for Kernel#Float
# Iteration per second (i/s)
| |compare-ruby|built-ruby|
|:------------|-----------:|---------:|
|float | 30.395M| 38.314M|
| | -| 1.26x|
|float_true | 3.833M| 27.322M|
| ...
S_H_ (Shun Hiraoka)

04/21/2020

11:49 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
duerst (Martin Dürst) wrote in #note-36:
> I think the option's name (`--suppress-backtrace`) is wrong. If I write `--suppress-backtrace=10`, it reads like "suppress 10 entries of backtrace". That would mean if the whole backtrace is 50...
jeremyevans0 (Jeremy Evans)
11:35 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I think the option's name (`--suppress-backtrace`) is wrong. If I write `--suppress-backtrace=10`, it reads like "suppress 10 entries of backtrace". That would mean if the whole backtrace is 50 entries, it would print 40 entries. The nam... duerst (Martin Dürst)
10:29 AM Feature #8661 (Closed): Add option to print backtrace in reverse order (stack frames first and error last)
Applied in changeset ruby-master:commit:git|bf11bf31e2e795bb22c939a5b5cd412c98208982.
----------
NEWS.md: the order of backtrace [Feature #8661] [ci skip]
nobu (Nobuyoshi Nakada)
09:36 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I've created a PR for `--suppress-backtrace=num` option.
https://github.com/ruby/ruby/pull/3047
@matz Could you confirm if the behavior is right as you think?
t.rb
```ruby
def f1 = raise
def f2 = f1
def f3 = f2
def f4 = f3
...
mame (Yusuke Endoh)
08:45 AM Feature #8661 (Open): Add option to print backtrace in reverse order (stack frames first and error last)
Reopen because we need to support `--suppress-backtrace=5`. mame (Yusuke Endoh)
08:44 AM Feature #8661 (Closed): Add option to print backtrace in reverse order (stack frames first and error last)
Applied in changeset ruby-master:commit:git|487d0c99d53208594702bb3ce1c657130fb8d65f.
----------
eval_error.c: revert the "reversed" backtrace [Feature #8661]
Now, the order is good, old-fashioned style:
```
$ ./local/bin/ruby -e 'def...
mame (Yusuke Endoh)
08:17 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Thank you @matz!
I can try to prepare patch including both options:
1. specify order
2. limit amount of lines printed
retro (Josef Šimánek)
08:13 AM Feature #8661 (Open): Add option to print backtrace in reverse order (stack frames first and error last)
mame (Yusuke Endoh)
08:13 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Thank you very much, @matz!!! mame (Yusuke Endoh)
07:53 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
OK, let's revert it. Instead, I want to something to suppress backtrace lines (e.g. `--suppress-backtrace=5` command-line option to `ruby` or something similar in `RUBYOPT` environment variable).
Matz.
matz (Yukihiro Matsumoto)
11:44 PM Misc #16802: Prefer use of RHS assigment in documentation
ioquatix (Samuel Williams) wrote in #note-6:
> Oh okay, I thought it was a sure thing at this point - where is the experimental nature of it being tracked?
It's mentioned in NEWS.md. Both rightward assignment and endless method defi...
jeremyevans0 (Jeremy Evans)
11:26 PM Misc #16802: Prefer use of RHS assigment in documentation
Oh okay, I thought it was a sure thing at this point - where is the experimental nature of it being tracked? ioquatix (Samuel Williams)
10:06 PM Misc #16802: Prefer use of RHS assigment in documentation
Eregon (Benoit Daloze) wrote in #note-4:
> I think we should wait that RHS assignment is no longer experimental.
> ...
I agree and I’m not a big fan either. It seems to me that for some time there’s been accepting and immediately merging...
greggzst (Grzegorz Jakubiak)
10:55 AM Misc #16802: Prefer use of RHS assigment in documentation
I think we should wait that RHS assignment is no longer experimental.
As I see it, it might get similar backlash as the pipeline operator and might still be removed (personally I don't like RHS assignment, I find it confusing and less...
Eregon (Benoit Daloze)
09:11 AM Misc #16802: Prefer use of RHS assigment in documentation
I'm not sure it's a good idea. There's some value in distinguishing between an actual right-hand-side assignment and the resulting value of an expression (where expression includes right-hand-side assignments :-).
Also, as far as I un...
duerst (Martin Dürst)
05:14 AM Misc #16802: Prefer use of RHS assigment in documentation
@matz do you mind letting me know your thoughts? ioquatix (Samuel Williams)
05:13 AM Misc #16802 (Closed): Prefer use of RHS assigment in documentation
Many documentation uses some format like this:
```
Hash.new -> hash
```
Now that RHS assignment is a thing, we can make the documentation valid Ruby code:
```
Hash.new => hash
```
There is some d...
ioquatix (Samuel Williams)
06:00 PM Misc #16803: Discussion: those internal macros reside in public API headers
I think as much as feasible macros accessing internals should not be in public headers.
OTOH, I think macros purely for portability between platforms, compilers, C/C++ compatibility are fine.
`RUBY3_STATIC_ASSERT` seems harmless (jus...
Eregon (Benoit Daloze)
07:45 AM Misc #16803 (Open): Discussion: those internal macros reside in public API headers
A while ago I merged https://github.com/ruby/ruby/pull/2991 ("Split ruby.h"). This seems working. But the changeset raised several questions.
The biggest one relates to those newly publicised macros and inline functions. For instan...
shyouhei (Shyouhei Urabe)
05:43 PM Revision ad63ae66 (git): .github/workflows/mingw.yml: add `shell: bash` for PR checkout
as well as e62aead26909e83f2c8b940186047f0a88b9f2d6 mame (Yusuke Endoh)
05:31 PM Revision 92afac8f (git): configure.ac: Automatically add -D__ANDROID_API=ver on Android
mame (Yusuke Endoh)
05:05 PM Revision cebf575d (git): * 2020-04-22 [ci skip]
git[bot]
05:05 PM Revision 7d918be6 (git): test/ruby/test_fiber.rb: Skip the problematic test_stack_size on riscv
Since it is impossible to detect stack overflow of C functions robustly,
the test is a bit unreasonable.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20200421T120018Z.fail.html.gz
mame (Yusuke Endoh)
03:13 PM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
hshimoyama (Hiroyasu Shimoyama) wrote in #note-24:
> I tried to reproduce this issue, but it was not reproduced today.
> ...
It works because the docker library image is using my patch:
https://github.com/docker-library/ruby/blob/ma...
ncopa (Natanael Copa)
02:42 PM Bug #16804 (Third Party's Issue): Vagrant Up does not work anymore
This appears to be a bug in Vagrant:
* https://github.com/hashicorp/vagrant/issues/11497
* https://github.com/hashicorp/vagrant/issues/11492
jeremyevans0 (Jeremy Evans)
08:31 AM Bug #16804 (Third Party's Issue): Vagrant Up does not work anymore
Good day,
I was able to set up a VM (Scotch Box Pro @ https://github.com/scotch-io/scotch-box) last week and it was successful; I didn't encounter any ruby bug or hints.
Yesterday, I updated VirtualBox and Vagrant, and created a diff...
xolge (Gerard Bee)
12:36 PM Revision 22226324 (git): LEGAL: fixed links to the old-style BSD license [ci skip]
nobu (Nobuyoshi Nakada)
12:12 PM Revision 6b04c480 (git): * remove trailing spaces. [ci skip]
git[bot]
12:05 PM Revision cb47ae58 (git): LEGAL: moved the old-style BSD license and linked [ci skip]
nobu (Nobuyoshi Nakada)
12:05 PM Revision 61afd2a2 (git): LEGAL: moved the MIT license and linked [ci skip]
nobu (Nobuyoshi Nakada)
12:05 PM Revision 405d8014 (git): LEGAL: made license names themselves links [ci skip]
nobu (Nobuyoshi Nakada)
10:37 AM Bug #16797: Array#flatten not checking `respond_to? :to_ary`
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Read the error message.
> ...
Read what I wrote:
> It should check whether an object responds to to_ary before trying to convert it into an array.
I know it used `to_ary` method and got a...
UlyssesZhan (Ulysses Zhan)
10:29 AM Revision 3ef09c6e (git): eval_error.c: default nil as "reverse" is now false [Feature #8661]
nobu (Nobuyoshi Nakada)
10:29 AM Revision bf11bf31 (git): NEWS.md: the order of backtrace [Feature #8661] [ci skip]
nobu (Nobuyoshi Nakada)
10:23 AM Misc #16805 (Assigned): Coroutine's license is unclear
Files under `coroutine/` start like this:
```C
/*
* This file is part of the "Coroutine" project and released under the MIT License.
*
```
The problem is, there is no definition of "the MIT License" throughout the entire pro...
shyouhei (Shyouhei Urabe)
08:39 AM Revision 487d0c99 (git): eval_error.c: revert the "reversed" backtrace [Feature #8661]
Now, the order is good, old-fashioned style:
```
$ ./local/bin/ruby -e 'def foo; raise; end
def bar; foo; end
def baz; bar; end
def qux; baz; end
qux
'
-e:1:in `foo': unhandled exception
from -e:2:in `bar'
from -e:3:in `...
mame (Yusuke Endoh)
08:10 AM Bug #14367: Wrong interpretation of backslash C in regexp literals
Can I have any answer for my question ("Is this intentional?")? shyouhei (Shyouhei Urabe)
07:30 AM Revision c63b5c61 (git): rb_memerror: abort immediately
Ditto for adab82b9a71f60ad1c7f4f8c134a5ae9198ab32a. TRY_WITH_GC was
found innocent.
shyouhei (Shyouhei Urabe)
04:35 AM Revision dc9089b5 (git): Fixed a typo [ci skip]
nobu (Nobuyoshi Nakada)
04:07 AM Revision 32623150 (git): reroute redefinition of NDEBUG
NDEBUG can be defined via a command-line argument. Should take care of
such situations.
shyouhei (Shyouhei Urabe)
04:07 AM Revision 735e035b (git): __GNUC__ is too lax
Ditto for 4b853932eaa7fa4acf8a0f0c9b7c695bb4f5e76d shyouhei (Shyouhei Urabe)
03:59 AM Revision adab82b9 (git): TRY_WITH_GC: abort immediately
NoMemoryError is observed on icc but I fail to reproduce so far. Let me
see the backtrace on CI.
shyouhei (Shyouhei Urabe)
03:38 AM Revision 4b861941 (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
03:10 AM Feature #16792: Make Mutex held per Fiber instead of per Thread
In order to experiment with this, I'd like to propose the following hooks to the scheduler:
```ruby
class Scheduler
# A fiber has tried to lock a mutex, but it failed.
def wait_mutex(mutex)
end

# A mutex which has pre...
ioquatix (Samuel Williams)
02:18 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
Here is a quick hack I used to add `Fiber.backtrace` to aid in debugging. I'd say, don't use it in production, but I did :p
```ruby
module Fiber::Backtrace
def yield
Fiber.current.backtrace = caller
super
end
end
class ...
ioquatix (Samuel Williams)

04/20/2020

10:27 PM Bug #16266 (Rejected): Additional empty folders created in lib/ruby/gems/2.7.0/gems by make install
https://github.com/ruby/ruby/pull/2580 is already closed. hsbt (Hiroshi SHIBATA)
10:25 PM Bug #15359: Bundler help is not properly integrated
I added the workaround for man path with ruby installation. But we should care about the convention of Linux distribution.
Welcome to additional patches.
hsbt (Hiroshi SHIBATA)
09:53 PM Bug #15359 (Closed): Bundler help is not properly integrated
Applied in changeset commit:git|b9962f0e8909b1163320fbcfe80060a259b2353d.
----------
Fixed incorrect man path with ruby installation path
[Bug #15359][ruby-core:90164]
hsbt (Hiroshi SHIBATA)
09:53 PM Revision b9962f0e (git): Fixed incorrect man path with ruby installation path
[Bug #15359][ruby-core:90164] hsbt (Hiroshi SHIBATA)
06:02 PM Feature #15921: R-assign (rightward-assignment) operator
Ah right, trying the master branch is the fastest way to get answers, duh. But this brings me to this little surprise:
```ruby
5 + 3 => x #=> 8
5 + 3 => x.to_s #=> undefined method `to_s=' for 8:Integer
5 + 3 => x
.to_s #...
Dan0042 (Daniel DeLorme)
05:18 PM Feature #15921: R-assign (rightward-assignment) operator
In current head, it is so:
```ruby
x1 = 5 + 3 => y1
p [x1, y1] # [8, 8]
5 + 3 => x2 => y2
p [x2, y2] # [8, 8]
*[1, 2, 3] => x3, y3
# ^ syntax error, unexpected =>, expecting '.' or &. or :: or '['
[1, 2, 3] => x4, y4
p [x4,...
zverok (Victor Shepelev)
03:37 PM Feature #15921: R-assign (rightward-assignment) operator
I'd like to hear some clarifications on the expected behavior of rightward assignment.
assignment at both ends? `x = expr => y`
multiple assignment? `expr => x => y`
splatted assignment? `*expr => x,y`
auto-splatted assignment? `expr =>...
Dan0042 (Daniel DeLorme)
03:06 PM Revision 8e517942 (git): test/ruby/test_refinement.rb: extend the timeout
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20200420T083601Z.fail.html.gz mame (Yusuke Endoh)
03:00 PM Revision 7a0ac279 (git): * 2020-04-21 [ci skip]
git[bot]
02:59 PM Revision 6985bfb7 (git): vm_dump.c: Do not show C backtrace on riscv
Currently, objdump -W miniruby emits some errors on riscv, so I guess
that DWARF is corrupted.
mame (Yusuke Endoh)
02:56 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
byroot (Jean Boussier) wrote in #note-3:
> To clarify, what I'm trying to say is that the `"new"` method should simply forward everything to the `initialize` method no matter what. I can't see any reason for `Struct#new` to have arbitra...
jeremyevans0 (Jeremy Evans)
02:20 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
To clarify, what I'm trying to say is that the `"new"` method should simply forward everything to the `initialize` method no matter what. I can't see any reason for `Struct#new` to have arbitrary restrictions. byroot (Jean Boussier)
02:16 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
@jeremyevans0 I'm afraid I don't understand what you are referring to:
2.7.1:
```
$ ruby -v
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
$ ruby --disable-gems -e 'p Struct.new(:hash_value).new(hash_key: 1)'
...
byroot (Jean Boussier)
02:05 PM Bug #16801: The default Struct constructor improperly handle keyword arguments
I think the something your missing is this would break existing code:
```ruby
Struct.new(:hash_value).new(hash_key: 1)
```
Treating the keywords as named columns when they were originally designed to be a hash value for the next ...
jeremyevans0 (Jeremy Evans)
09:59 AM Bug #16801 (Closed): The default Struct constructor improperly handle keyword arguments
Reproduction script:
```ruby
Field = Struct.new(:value) do
def initialize(value, keyword: false)
super(value)
@keyword = keyword
end
end
Field.new(1, keyword: true)
```
```
/tmp/kw.rb:8: warning: Using the la...
byroot (Jean Boussier)
01:48 PM Revision 847e2597 (git): Skip JIT tests on riscv64 due to SEGV of cc1
mame (Yusuke Endoh)
12:27 PM Revision 3cd3a507 (git): [sync_default_gems.rb] Force reset conflict files to be ignored
[ci skip] nobu (Nobuyoshi Nakada)
12:26 PM Revision aeb9d115 (git): Revert irrelevant change [ci skip]
nobu (Nobuyoshi Nakada)
12:14 PM Revision e571bb84 (git): Removed phony atomic operations for void* and VALUE
nobu (Nobuyoshi Nakada)
08:00 AM Feature #16791: Shortcut for Process::Status.exitstatus
It is not a good idea to compare `exitstatus` with 0 from the point of portability.
I'd recommend to use `Process::Status#success?`.
Also if the exit code value is not important but succeeded or failed is just needed, `exit $?.success?...
nobu (Nobuyoshi Nakada)
03:11 AM Feature #16791: Shortcut for Process::Status.exitstatus
Those short aliases are definitely a bad idea but I understand the OP's frustration with `$?` because it's different from the shell's `$?`. `Process::Status` has several methods that I'm sure can be useful in various circumstances, but t... Dan0042 (Daniel DeLorme)
04:26 AM Feature #16799: Add more functional features,make ruby more friendly.
In addition to matz's note, we had tried the single namespace once some years ago.
Finally we found that the incompatibility was much bigger than expected before, and abandoned.
nobu (Nobuyoshi Nakada)
03:37 AM Revision b4c9b570 (git): * 2020-04-20 [ci skip]
git[bot]
03:33 AM Revision 20773a10 (git): Bail out if no atomic operation found
As atomic operations are mandatory now, not-working phony fallback
definitions are not only useless but confusing and harmful.
nobu (Nobuyoshi Nakada)
01:41 AM Bug #16797: Array#flatten not checking `respond_to? :to_ary`
Actually what happens here is pretty interesting. This is all done via `rb_check_array_type` which attempts to convert an object by using `to_ary`.
If your object defines its _own_ `respond_to?` method, it is used to determine if `to_...
Dan0042 (Daniel DeLorme)
01:21 AM Bug #16774: Don't require sub-word atomics
Great. Thank you. mame (Yusuke Endoh)
01:18 AM Bug #16800: [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
I believe that it is already fixed on master by the patch of #16774. mame (Yusuke Endoh)

04/19/2020

02:41 PM Revision e92f3e12 (git): Removed useless VMDEBUG definition [ci skip]
VMDEBUG is always defined as defaulted to 0 in vm_core.h. nobu (Nobuyoshi Nakada)
02:38 PM Revision 73bd2b70 (git): Update VMDEBUG reference doc [ci skip]
Since this commit (https://github.com/ruby/ruby/commit/9e1b06e17d27fb4ddf51e9244f205417e9c4dd5c), the VM Debug Level constant is moved from `vm_insnhelper.h` to `vm_core.h`. This PR is a super tiny update to reflect that change so that p... Nguyễn Quang Minh
02:18 PM Feature #16799 (Rejected): Add more functional features,make ruby more friendly.
I'd love to enhance the language to be nice to functional programming but at the same time, we have to be nice to existing programs by keeping compatibility. Proposed new syntaxes are incompatible changes so that we cannot accept them.
...
matz (Yukihiro Matsumoto)
04:34 AM Feature #16799: Add more functional features,make ruby more friendly.
Yes, changing the syntax is currently not a good choice, but I think it is necessary to modify the method call syntax to maintain the same form, and the method name is just a variable name (in order to support more flexible functional pr... jackmaple (maple jack)
02:15 PM Revision 2af4c1fc (git): Skip Process#clock_getres specs on Android
... just like AIX and OpenBSD. mame (Yusuke Endoh)
02:14 PM Revision 5a8960b4 (git): Skip TestRequire#test_loading_fifo_fd_leak on Android
The test fails due to unknown reason. Need to debug in future, but
tentatively skipped.
mame (Yusuke Endoh)
01:42 PM Bug #16800: [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
According to that log, seems CAS is not available. nobu (Nobuyoshi Nakada)
10:22 AM Bug #16800 (Closed): [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
The last version of Ruby in Fedora/RISCV is v2.5.7. It seems that anything above v2.5 series fails to build (tried multiple times with different releases over a long time).
All the builds fail the same:
```
[..]
./miniruby -I./lib ...
davidlt (David Abdurachmanov)
11:03 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I agree on this is really unfortunate and annoying change. I need to go thru backtrace visually first to decide which order is used and then do second visual parsing to actually use it. The new order usually means I need to scroll up in ... retro (Josef Šimánek)
10:52 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Yes, this is still the most annoying change in Ruby. Once the backtrace is displayed in reverse order, the other time in normal order, depending if I am seeing log in TTY or in file. Terrible. vo.x (Vit Ondruch)
10:46 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I have not changed my opinion, but I gave up and now wrap every command with my own gem which puts it back in the top to bottom order. ioquatix (Samuel Williams)
09:01 AM Feature #16794: Rightward operators
As for the pipeline operator, it could be more useful in combination with right assignment operators.
```ruby
foo(...).bar(...) => x
|> zot(...) => y
```
is same as
```ruby
y = (x = foo(...).bar(...))
.zot(...)
```
nobu (Nobuyoshi Nakada)
07:28 AM Feature #16794: Rightward operators
So,in fact,only one pipeline operator is needed to call the method in reverse.
``` ruby
puts "hello world"
#Pipeline call
"hello world" |> puts
```
jackmaple (maple jack)
08:16 AM Misc #16778: Should we stop vendoring default gems code?
hsbt (Hiroshi SHIBATA) wrote in #note-18:
> I and the maintainer of the default gems will extract the default gems to the bundled gems. After that, We dont't need to care the duplicated code.
Doesn't this mean ruby won't have stdlib ...
greggzst (Grzegorz Jakubiak)
07:47 AM Misc #16778: Should we stop vendoring default gems code?
hsbt (Hiroshi SHIBATA) wrote in #note-18:
> 2. There is no plan to use git submodule for these issues. The ruby commiter can't push the master branch of the part of default gems contained rubygems. We need to push them for fixing CI of ...
vo.x (Vit Ondruch)
01:42 AM Misc #16778: Should we stop vendoring default gems code?
This issues is too complex and complicated. I and mame and the maintainers of default gems already considered these topics.
1. Removing the default gems from ruby core repository, It's too hard to maintain with the changes of ruby inte...
hsbt (Hiroshi SHIBATA)
05:21 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
@matz do you mind checking this when you have time? Especially `Fiber#backtrace` is super important for debugging issues with fibers. ioquatix (Samuel Williams)
01:40 AM Revision 2832ba80 (git): The pdb header error is printed at stdout
https://ci.appveyor.com/project/ruby/ruby/builds/32278754/job/90jmky2jq2k0wjv8 k0kubun (Takashi Kokubun)
12:35 AM Revision c0b93267 (git): Update workflows/mingw.yml - use setup-ruby-pkgs (#3042)
MSP-Greg/actions-ruby is deprecated... MSP-Greg (Greg L)
 

Also available in: Atom