Activity
From 01/25/2022 to 01/31/2022
01/31/2022
-
11:09 PM Revision 6623d60e (git): Try make this more readable and consistent with other targets
-
11:09 PM Revision e53af7d1 (git): Tweaks to freeze bundler CI
- Currently some specs are broken because `rspec-mocks-3.10.3` is used,
which has some breaking changes, apparently.
This change makes ruby-core install the same gems installed upstream for
running bundle specs, so that things never break... -
11:09 PM Revision 517d7c32 (git): Sync latest Bundler & RubyGems
-
08:45 PM Bug #18562 (Closed): throw_data passed to rescue through require
- When we throw in a require it's incorrectly considered as a raise, making the `T_IMEMO` `throw_data` object accessible via rescue (in a contrived case). In regular usage this is unlikely to cause an issue because `Module#===` immediately...
-
08:37 PM Bug #18561: Make singleton def operation and define_singleton_method explicitly use public visibility
- Related JRuby pull request that makes singleton method definition always public (in response to the ostruct issue linked above):
https://github.com/jruby/jruby/pull/7055 -
08:29 PM Bug #18561: Make singleton def operation and define_singleton_method explicitly use public visibility
- @marcandre provided a possibly more common case, but I still highly doubt that anyone would expect this to behave differently than the unmatched scope version:
```
$ ruby -e 'class Foo; class << Foo; private; Foo.define_singleton_met... -
07:09 PM Bug #18561 (Closed): Make singleton def operation and define_singleton_method explicitly use public visibility
- Currently nearly all uses of `define_singleton_method` or `def obj.foo` will ignore the caller's frame/cref visibility and use the default visibility of public. I propose this be made explicit in the code, documentation, and ruby specs.
... - 08:20 PM Revision 2b2e3b79 (git): * 2022-02-01 [ci skip]
-
08:20 PM Revision d5c9710b (git): [rubygems/rubygems] Remove encoding pragma from specification.rb
- - it is not used since it is not at the top of the file
- it is not useful anymore
https://github.com/rubygems/rubygems/commit/6aee05d923 -
06:54 PM Feature #18462: Proposal to merge WASI based WebAssembly support
- katei (Yuta Saito) wrote:
> For example, CRuby already supports WebAssembly target by Emscripten, but Emscripten heavily depends on JavaScript to emulate some missing features in WebAssembly itself.
@katei do you have a link showing ... -
05:51 PM Feature #18554: Move unicode_normalize to a default gem
- @duerst Thank you for spelling that out. I figured there are some additional nuances to this, since the unicode tables are also in C code and used internally by many parts of Ruby. In that regard, it is at least much easier for us to imp...
-
04:38 PM Bug #18560: "Compaction isn't available on this platform" error running PG test suite on ppc64le
- @peterzhu2118 JFYI: If the method body is `rb_f_notimplement`, `Kernel#respond_to?` returns false.
For example, `Kernel#fork` is defined as such in Windows. https://github.com/ruby/ruby/blob/605f226142a47c4f9e4cc88717c5d6170bc3d7f1/pr... -
04:19 PM Bug #18560: "Compaction isn't available on this platform" error running PG test suite on ppc64le
- I think this is expected. `GC.compact`, `GC.auto_compact=`, `GC.verify_compaction_references` will raise `NotImplementedError` when compaction is not supported on the platform.
`GC.respond_to?(:compact)` is just to check that the meth... -
03:13 PM Bug #18560 (Closed): "Compaction isn't available on this platform" error running PG test suite on ppc64le
- Trying to execute test suite of `pg` gem on ppc64le, I observe a following error:
~~~
... snip ...
1) GC.compact should compact PG::TypeMapByClass #328
Failure/Error: GC.verify_compaction_references(toward: :empty, double_... -
04:09 PM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Would it be feasible for #full_message to accept a String/IO argument to which it writes the parts of the message? So the error printer could call `err.full_message(output_to: $stderr)` in order to avoid buffering.
-
02:58 PM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- I have given it a try, but I faced two non-trivial test failures.
One is TestException#test_cause_exception_in_cause_message.
https://github.com/ruby/ruby/blob/b01657c4707eadd9de9573ce9818d0b5f0fe3047/test/ruby/test_exception.rb#L9... -
03:58 PM Feature #18438: Add `Exception#additional_message` to show additional error information
- Thank you, it's much clearer now.
Follow-up question: Should #detailed_message include the class of the error
a) always (unlike #message currently)
b) only if `highlight` keyword is true
c) based on some other keyword (like in #not... -
10:31 AM Feature #18438: Add `Exception#additional_message` to show additional error information
- I talked with @matz and @nobu about that.
The current implementation of `Exception#full_message` adds `\e[1m` (i.e., bold start) for each beginning of line of `#message`, and `e[m` (i.e., bold end) for each end. (Also, it adds `" (Run... -
02:47 PM Bug #17263: Fiber context switch degrades with number of fibers, limit on number of fibers
- I heard someone ran into this error in a GraphQL-Ruby context, so I thought I'd check out this script on the latest Ruby. It didn't crash as-written, so I added a couple more orders of magnitude. It still finished fine locally, but slowe...
-
02:42 PM Revision 605f2261 (git): Fix heap page iteration in gc_verify_heap_page
- The for loops are not correctly iterating heap pages in
gc_verify_heap_page. -
12:14 PM Feature #18559 (Closed): Allocation tracing: Objects created by the parser are attributed to Kernel.require
- Marking this as a feature, because I think it should be improved but can hardly be considered a bug.
### Repro
Consider the following script:
```ruby
# /tmp/allocation-source.rb
require 'objspace'
require 'tmpdir'
source =... -
10:22 AM Bug #18497: Fiber内でProcess.daemonをするとSegmentation faultが起こる
- ruby_3_1 1c426ddb25e2ccb169720e4f9894605596fe594d merged revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686d49c2ce8e6a87039861154e93d4621.
-
10:22 AM Revision 1c426ddb (git): merge revision(s) 5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686d49c2ce8e6a87039861154e93d4621: [Backport #18497]
- Assuming EXIT_SUCCESS equals 0 is not portable
---
test/ruby/test_fiber.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
`rb_fiber_terminate` must not return [Bug #18497]
In a for... -
09:15 AM Bug #18489: Segmentation fault with ruby 3.1.0 in `active_decorator`
- ruby_3_1 629b9da7dbdcaff04d6dde70f2431396f66e03e5 merged revision(s) f3c77bd480834f2835fe6fef5c0475336248dbde.
-
09:15 AM Revision 629b9da7 (git): merge revision(s) f3c77bd480834f2835fe6fef5c0475336248dbde: [Backport #18489]
- Fix the placeholder subclass entry skipping [Bug #18489]
---
class.c | 3 +--
test/ruby/test_module.rb | 9 +++++++++
2 files changed, 10 insertions(+), 2 deletions(-) -
09:05 AM Bug #18294: error when parsing regexp comment
- I understand it is not easy to fix, and I sure can live with it.
ありがとうMatzさん \^_^ -
02:28 AM Bug #18294: error when parsing regexp comment
- I admit this is a bug and it should be fixed. But implementation-wise, it's difficult to fix. Considering the (small) impact of the bug, its priority is low.
We will fix it but it could take a long time.
Matz.
- 06:35 AM Revision 5b0c7b4a (git): Prefer `wait_readable` rather than `IO.select`.
- 06:35 AM Revision bdd3cf00 (git): Fix incorrect minimum read length.
- 06:35 AM Revision aa3b2c81 (git): Fix console.c usage of `rb_io_wait`.
-
05:02 AM Bug #11064: #singleton_methods for objects with special singleton_class returns an empty array
- matz (Yukihiro Matsumoto) wrote in #note-1:
> `nil` does not have its singleton class, but `NilClass` plays the role of the singleton class
I would appreciate it if @matz could kindly explain what the difference is between "being a s... -
02:55 AM Bug #11064: #singleton_methods for objects with special singleton_class returns an empty array
- `nil` does not have its singleton class, but `NilClass` plays the role of the singleton class (since `nil` is the only instance of `NilClass`).
So a singleton method definition defines a method in `NilClass`. It's a kind of special trea... -
03:19 AM Bug #17988: pod update on Mac mini M1 with Big Sur after moving project from iMac. Xcode 12.4
- For the record: we confirmed that this issue was fixed by `gem install ffi -- --enable-libffi-alloc`. See #18555 and https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
-
03:18 AM Bug #18512 (Third Party's Issue): MacOS 12.1 Monterey Bug
- I believe this is the same case as #18555. We confirmed that that issue was fixed by `gem install ffi -- --enable-libffi-alloc`. See #18555 and https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
-
03:17 AM Bug #18505 (Third Party's Issue): Crash reported while trying to run Cucumber via ruby on macbook air M1 processor
- I believe this is the same case as #18555. We confirmed that that issue was fixed by `gem install ffi -- --enable-libffi-alloc`. See #18555 and https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
-
03:16 AM Bug #18496 (Third Party's Issue): Segmentation fault at 0x0000000005107620
- I believe this is the same case as #18555. We confirmed that that issue was fixed by `gem install ffi -- --enable-libffi-alloc`. See #18555 and https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
-
02:23 AM Feature #18515: Add Range#reverse_each implementation
- Dan0042 (Daniel DeLorme) wrote in #note-3:
> I agree with both of those statements, but Integer is the only class that has #pred, so in practice "using pred" and "specialized implementation for Integer" are the same thing.
Yes, that ... -
02:17 AM Bug #18475: Yielding an element for Enumerator in another thread dumps core
- ruby_3_1 8e3bce0841497fc00ccdaf45f6583c25720a2d3f merged revision(s) ae5458f228a5477383e9c00425d85d50a3867817.
-
02:16 AM Revision 8e3bce08 (git): merge revision(s) ae5458f228a5477383e9c00425d85d50a3867817: [Backport #18475]
- thread.c: Convert TAG_BREAK to a normal exception at thread top-level
[Bug #18475]
---
test/ruby/test_enum.rb | 11 +++++++++++
thread.c | 3 +++
2 files changed, 14 insertions(+) -
02:15 AM Bug #18468: Tutorial Link for Optionparser is broken
- ruby_3_1 abdd655afd6f3f36553e6bb0d6b3e3eac09ae977 merged revision(s) 92630e2346a221fdfeaa484632938a06765bc6e5.
-
02:15 AM Revision abdd655a (git): merge revision(s) 92630e2346a221fdfeaa484632938a06765bc6e5: [Backport #18468]
- [ruby/optparse] Fix links to the page directory files [Bug #18468]
https://github.com/ruby/optparse/commit/dab72c543d
---
doc/optparse/creates_option.rdoc | 4 ++--
doc/optparse/option_params.rdoc | 2 +... -
01:55 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- @anthonyaykut Thank you for your cooperation! Because there are many bug reports about the issue of ffi with M1, this will be a great solution case.
-
12:31 AM Bug #18555 (Closed): Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
-
12:45 AM Misc #18557: DevMeeting-2022-02-17
- * [Feature #13110] Byte-based operations for String
* Are there any objections to introduce byteindex, byterindex and byteoffset? (not bytesplice)
* Should the method names be `byte_index`, `byte_rindex`, and `byte_offset`?
-
12:33 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- https://github.com/ruby/ruby/pull/5497.diff
01/30/2022
-
11:18 PM Feature #18515: Add Range#reverse_each implementation
- kyanagi (Kouhei Yanagita) wrote in #note-2:
> In general, I think it would be better to improve `#reverse_each` by using `#pred` (predecessor; the inverse of `#succ`) if the element has.
> ...
I agree with both of those statements, but... -
11:10 PM Feature #18438: Add `Exception#additional_message` to show additional error information
- Very happy about this.
mame (Yusuke Endoh) wrote in #note-16:
> Note: the rdoc of `detailed_message` should explicitly state that the method should accept `highlight` keyword that allows using ANSI terminal escape sequences to highli... - 10:59 PM Revision b01657c4 (git): [DOC] Fix case for new sentence.
-
10:38 PM Revision f924e05b (git): [DOC] Fix a typo in the NEWS.md
- Follow up of https://github.com/ruby/ruby/commit/fbb3cab.
-
10:17 PM Revision 99a65e80 (git): [DOC] Enhanced RDoc for io.c (#5460)
- Treats:
Kernel#readline
Kernel#readlines
Kernel#`cmd`
IO#advise
IO.select
IO#ioctl
IO#fcntl
Kernel#syscall
IO.pipe -
10:13 PM Feature #18368: Range#step semantics for non-Numeric ranges
- > the implication is that `range.step(1)` (using `+`) would have different semantics than `range.each` (using succ); I have reservations about that.
Well, it is already so to some extent. Say, with numeric ranges `#step` returns `Arit... -
09:43 PM Feature #18368: Range#step semantics for non-Numeric ranges
- @zverok if understand correctly, the implication is that `range.step(1)` (using `+`) would have different semantics than `range.each` (using `succ`); I have reservations about that.
Also, due to backward compatibility I don't think it... -
02:12 PM Feature #18368: Range#step semantics for non-Numeric ranges
- Some clarifications after rereading the corresponding [dev.meeting log](https://github.com/ruby/dev-meeting-log/blob/master/DevMeeting-2022-01-13.md#feature-18368-rangestep-semantics-for-non-numeric-ranges-zverok):
**My proposal is no... -
09:58 AM Feature #18368: Range#step semantics for non-Numeric ranges
- > Here's one idea: how about adding an #increment(n) method. For Numeric, Float, Time, Date, it would be an alias to +. For String it would be equivalent to doing succ n times. So Range#step would have the semantics of using begin.increm...
-
04:15 AM Feature #18368: Range#step semantics for non-Numeric ranges
- > matz: I'd like to allow numeric-type '+', but to deny concatination-type '+'
> ...
I fully agree with the above. Here's one idea: how about adding an `#increment(n)` method. For Numeric, Float, Time, Date, it would be an alias to `+`.... -
09:48 PM Feature #16122: Data: simple immutable value object
- I'm quite fond of this proposal--I basically never use Struct unless I specifically need mutability and have been using the values gem for years, which has a simple implementation of about 100 lines:
https://github.com/tcrayford/Value... -
08:57 PM Feature #16122: Data: simple immutable value object
- Eregon (Benoit Daloze) wrote in #note-29:
> ValueStruct or ImmutableStruct or FrozenStruct maybe?
Those are good ideas. Or to highlight the "pared-down" aspect of this strict version of Struct: SimpleStruct / PlainStruct / BasicStruc... -
08:39 PM Feature #16122: Data: simple immutable value object
- Some more alternatives to get the ideas rolling: `Unit` and `Item` (might be paired with Struct)
I also like `Box`. -
12:53 PM Feature #16122: Data: simple immutable value object
- ValueStruct or ImmutableStruct or FrozenStruct maybe?
ImmutableStruct would probably only make sense if values are made immutable too, which doesn't seem proposed here.
I think the nesting of `Struct::Value` feels a bit weird, especi... - 06:47 PM Revision b0bd26ad (git): * 2022-01-31 [ci skip]
-
06:47 PM Revision e75bd8df (git): pend some tests while using to_binary
- ISeqs from ISeq#to_binary/load do not support `keep_script_lines`
now so some tests should be pending tests with
`RUBY_ISEQ_DUMP_DEBUG=to_binary` -
12:45 PM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
- I think Ruby users already know well what `#<MyObject:0xXXXXXXXXXXXXXXXX>` means, and using another naming is likely more confusing.
Either way it will need some getting used to as it's new output, and then it will just be natural.
The... -
03:36 AM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
- "undefined method 'time' for object Integer" is grammatically incorrect.
It would need to be "undefined method 'time' for Integer object".
Or "instance of Integer" or "object of type Integer". -
12:32 PM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Great!
@mame Do you plan to make a PR or should I give it a try? -
11:19 AM Bug #18292: 3.1.0-dev `include` cause Module to be marked as initialized
- ruby_3_1 28ec24db4a8201fa624692cdc1cbef9b00489412 merged revision(s) a79c59472df38297c246b27713c277f2edaefa7a.
-
10:08 AM Revision 28ec24db (git): merge revision(s) a79c59472df38297c246b27713c277f2edaefa7a: [Backport #18292]
- Allow include before calling Module#initialize
This is to allow Module subclasses that include modules before
calling super in the subclass's initialize.
Remove rb_module_check_initializable from Module#initiali... -
10:07 AM Bug #18469: Backport c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5
- ruby_3_1 1a1737530bff683041b8f45e7acac8c5c85c4163 merged revision(s) c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5.
-
10:07 AM Revision 1a173753 (git): merge revision(s) c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5: [Backport #18469]
- Fix default --jit-max-cache in `ruby --help`
changed at 028f1887c2bfa50dcfc1b623470d6ab1b880fdde
---
ruby.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) -
10:07 AM Bug #18436: Fix Pathname dot directory globbing
- ruby_3_1 e75246c287436621658bc2b8a5f999d8991e7d1d merged revision(s) 5917f49ad03cd3b2c13d3eea85c969a113b83bf8.
-
10:06 AM Revision e75246c2 (git): merge revision(s) 5917f49ad03cd3b2c13d3eea85c969a113b83bf8: [Backport #18436]
- Fix documentation for Dir.glob
Dir.glob("*", File::FNM_DOTMATCH) no longer includes ".." in the
returned array as of Ruby 3.1.
Fixes [Bug #18436]
---
dir.rb | 2 +-
1 file changed, 1 ins... -
10:06 AM Bug #18453: YJIT breaks Rails collection caching
- ruby_3_1 2640161df5cf18d08ec86a0c1b913d4ee99e102a merged revision(s) 5414de4b6e4372af832e338f8eb7a9fe8de17c84.
-
10:06 AM Bug #18434: error_highlight does not work for -e option
- ruby_3_1 20091ccad34904cb5ded13a8787f6662a8e2df68 merged revision(s) 0dc7816c4350683ccd020f5759eee4914de0085d.
-
10:06 AM Bug #18458: Segmentation fault when missing Warning#warn method
- ruby_3_1 d3a2a3c5420fecfee54cbf3fbdd9287bc6c58f03 merged revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5.
-
10:02 AM Revision d3a2a3c5 (git): merge revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5: [Backport #18458]
- Don't segfault if Warning.warn is undefined
Check that there is a method entry for the method before passing
it to rb_method_entry_arity.
Fixes [Bug #18458]
---
error.c | 3 +... -
10:02 AM Bug #18558 (Closed): Numbered arguments + eval
- Yes, see [Feature #16432].
-
10:01 AM Revision 2640161d (git): merge revision(s) 5414de4b6e4372af832e338f8eb7a9fe8de17c84: [Backport #18453]
- YJIT: Fix SP index with optarg and unordered kwarg
Previously when we were calling a method with an optional argument and
multiple keywords arguments which weren't in the order the receiver
expected we would use ... -
10:01 AM Revision 20091cca (git): merge revision(s) 0dc7816c4350683ccd020f5759eee4914de0085d: [Backport #18434]
- Make RubyVM::AST.of work with code written in `-e` command-line
option
[Bug #18434]
---
ast.c | 11 +++++++----
test/ruby/test_ast.rb | 5 +++++
2 files changed, 12 inse... -
06:42 AM Bug #18443: IO read/write/wait hook bug fixes.
- I have confirmed the PR https://github.com/ruby/ruby/pull/5473 contains the two whole backports and a partial backport from master branch.
I think e4cd319f3d6560b76dbc1c7e89aa4d790a2d1e43 should be backported. @naruse can I backport i... -
01:42 AM Bug #17629 (Closed): macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
01/29/2022
-
08:34 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Right, I have an update -- I worked out that `syntax` was also a gem :) so in the end I added:
```
gem "middleman-syntax"
gem "middleman-sprockets"
gem "middleman-autoprefixer"
gem "nokogiri"
```
to get everything working! It'... -
08:16 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-9:
> anthonyaykut (Anthony Aykut) wrote in #note-8:
> ...
OK, I did as suggested... `bundle install` took a while to complete, but looked good. I tried to run `bundle exec middleman server`, but it co... -
05:24 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- anthonyaykut (Anthony Aykut) wrote in #note-8:
> and then... `bundle install`:
> ...
...
> Using ffi 1.15.5
...
> ...
I think the command did not recompile ffi gem. Could you delete already-installed gems and retry `bundle install`?... -
07:30 PM Bug #17629: macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
- Can someone close this ticket? I don't see a possibility to do it myself.
-
07:28 PM Bug #18558 (Closed): Numbered arguments + eval
- ```ruby
def yield_2_args
yield 1, 2
end
yield_2_args { p [eval("_1"), _2] }
```
Running with ruby 2.7.2, I get output:
```
[1, 2]
[1, 2]
```
With 3.0.2, I get output:
```
[1, 2]
(eval):1:in `block in <main>': unde... -
01:59 PM Revision 44c44b9b (git): Ignore warnings at reading debug info for now
- Something seems changed on FreeBSD 13.
-
10:07 AM Revision 67f4729f (git): [Bug#18556] Fallback `MAP_ ANONYMOUS`
- Define `MAP_ANONYMOUS` to `MAP_ANON` if undefined on old systems.
-
08:36 AM Misc #18557 (Closed): DevMeeting-2022-02-17
- # The next dev meeting
**Date: 2022/02/17 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/master/DevMeeting-2022-02-17.md
- Dev meeting *IS NOT* a decision-making place. All decisions should be done at the bu... -
08:36 AM Misc #18399 (Closed): DevMeeting-2022-01-13
-
08:32 AM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Discussed on the dev-meeting.
#18367 was accepted, so @matz said "give it a try". Need to create a PR. -
08:32 AM Revision fbb3cab9 (git): Add a NEWS entry about [Feature #16806]
-
08:31 AM Feature #16122: Data: simple immutable value object
- Discussed on the dev-meeting.
@matz is now negative to allow settings. Having various semantics in one Struct class will bring confusion rather than usability. `keyword_init` settings will be no longer needed after Ruby 3.2. (See #168... -
08:29 AM Feature #16806 (Closed): Struct#initialize accepts keyword arguments too by default
- @nobu already committed the last step at commit:c956f979e5d05900315d2753d5c3b1389af8dae4. Closing.
-
08:10 AM Feature #18438: Add `Exception#additional_message` to show additional error information
- @matz accepted the name `detailed_message`. I'll update and improve my PR (or volunteer is welcome)
Note: the rdoc of `detailed_message` should explicitly state that the method should accept `highlight` keyword that allows using ANSI ... -
08:02 AM Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
- Discussed at the dev-meeting but no conclusion.
@akr said the part `0xXXXXXXXXXXXXXXXX` is almost useless, and roughly counter-proposed the following.
```
42.time #=> undefined method `time' for object Integer (NoMethodError)
... -
07:28 AM Bug #18556: error: use of undeclared identifier 'MAP_ANONYMOUS'
- https://github.com/ruby/ruby/pull/5506
-
03:08 AM Bug #18556 (Closed): error: use of undeclared identifier 'MAP_ANONYMOUS'
- ruby 3.1.0 fails to build on older versions of macOS such as OS X 10.10.5:
```
gc.c:11141:88: error: use of undeclared identifier 'MAP_ANONYMOUS'
char *ptr = mmap(NULL, alignment + size, PROT_READ | PROT_WRITE, MAP_PRIVATE |... -
07:07 AM Bug #18512: MacOS 12.1 Monterey Bug
- I'm unsure but you failed to recompile ffi gem because the size of ffi_c.bundle did not change.
Before:
```
{
"source" : "P",
"arch" : "arm64",
"base" : 4342497280,
"size" : 98304,
"uuid" : "f086814f-a607-31b9-9fff-7037c97cdf32... -
12:08 AM Bug #18512: MacOS 12.1 Monterey Bug
- IPS Report:
```
oucl5976@ck1 cf-zendesk % cat ~/Library/Logs/DiagnosticReports/ruby-2022-01-29-000341.ips
{"app_name":"ruby","timestamp":"2022-01-29 00:03:41.00 +0000","app_version":"","slice_uuid":"0ef6bea2-99c6-3fd9-a082-80849cd76... -
12:06 AM Bug #18512: MacOS 12.1 Monterey Bug
- ```
oucl5976@ck1 ~ % gem uninstall ffi
You have requested to uninstall the gem:
ffi-1.15.5
rb-inotify-0.9.10 depends on ffi (>= 0.5.0, < 2)
sassc-2.4.0 depends on ffi (~... -
06:33 AM Revision 90a8b1c5 (git): Remove a typo hash [ci skip]
-
06:29 AM Revision 7672f6a4 (git): mkmf: unify duplicate code in pkg_config
-
06:22 AM Revision b90e56e6 (git): mkmf: pkg_config accepts multiple options
-
06:22 AM Revision 24c7e75d (git): test: backfill coverage for MakeMakefile.pkg_config
-
06:08 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- > Can you confirm with date-2.0.3 ?
Thank you so much.
I tried it, then I get good result!
-
03:01 AM Feature #18490: MakeMakefile.pkg_config should accept multiple options
- Accepted.
Matz.
01/28/2022
-
11:51 PM Bug #18512: MacOS 12.1 Monterey Bug
- oucl5976@gmail.com (Paul Liu) wrote in #note-4:
> gem install ffi --enable-libffi-alloc
> ...
You probably want to try: `gem install ffi -- --enable-libffi-alloc` -
11:39 PM Bug #18512: MacOS 12.1 Monterey Bug
- gem install ffi --enable-libffi-alloc
ERROR: While executing gem ... (Gem::OptionParser::InvalidOption)
invalid option: --enable-libffi-alloc -
11:13 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- Eregon (Benoit Daloze) wrote in #note-1:
> OTOH Range operations that work differently for numerics tend to make Range even more messy when it comes to non-numeric values (more differences in behavior, can't `reverse_each` efficiently o... -
04:16 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- Yes, this is a useful change. Although wouldn't it be better to prevent `#to_a` instead of only `#reverse_each` ?
Actually there's quite a lot of Enumerable methods that would be better raising an exception for endless ranges.
For ex... -
01:12 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- I checked the PR, seems a useful change to me.
-
01:11 PM Feature #18551: Make `Range#reverse_each` to raise an exception if endless
- There is no Range#reverse_each currently, only Enumerable#reverse_each, and Enumerable can't know about this.
But maybe it makes sense to have Range#reverse_each for this and maybe also for faster reverse_each on Numeric Ranges?
OTOH R... -
11:02 PM Feature #18515: Add Range#reverse_each implementation
- In general, I think it would be better to improve `#reverse_each` by using `#pred` (predecessor; the inverse of `#succ`) if the element has.
However, since integer ranges are used so often, I think it is acceptable to add specialized ... -
08:04 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-7:
> If you are using bundler, try the second one.
> ...
Thanks. So... `bundle config build.ffi --enable-libffi-alloc` gave me:
```
Your application has set build.ffi to "--enable-libffi-alloc". T... -
07:51 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- If you are using bundler, try the second one.
```
bundle config build.ffi --enable-libffi-alloc
bundle install
```
I'm not familiar with bundler. I think you need to recompile ffi gem, but I am unsure if the command above does s... -
02:02 PM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-5:
> Ah, maybe it is a typo. Could you try `gem install ffi -- --enable-libffi-alloc`?
Yes, it was, but now I have a permissions error.
```
gem install ffi -- --enable-libffi-alloc
Ignoring red... -
07:41 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Ah, maybe it is a typo. Could you try `gem install ffi -- --enable-libffi-alloc`?
-
04:04 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- mame (Yusuke Endoh) wrote in #note-3:
> Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
Thank you -- so, I tried as suggested:
```
gem uninstall ffi
gem install ffi --enable-libffi-alloc
```
... -
02:18 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
-
01:51 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Attaching my `gem env` output
-
01:47 AM Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- By the way, I have noticed that running
`ruby -e 'require "rbconfig"; pp RbConfig::CONFIG' | grep "cpu"`
gives me
```
"target_cpu"=>"universal",
"host_cpu"=>"x86_64",
"build_cpu"=>"x86_64",
```
my previous system was a... -
01:37 AM Bug #18555 (Closed): Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
- Hi All,
First of all, I am not a programmer or coder so I am having great difficulty solving this puzzle.
Since moving to a M1 Mac, I cannot get Slate API Docs (https://github.com/slatedocs/slate) to work, specifically the middlema... - 06:33 PM Revision 1bd033cb (git): * 2022-01-29 [ci skip]
-
06:33 PM Revision 018036c2 (git): Remove assert_equal that will never be run
- `@s1.set_len(3)` will raise so the `assert_equal` will never be ran.
-
03:26 PM Bug #18511: ruby in infinite loop consuming 100% CPU
- > could someone look into the core dump ? Is there any possibility to upload a 55MB file ?
I can't guarantee that anyone is willing to spend time on investigating the core dump, but if you are willing to make publicly available with n... -
09:47 AM Bug #18511: ruby in infinite loop consuming 100% CPU
- > Depending on your needs, maybe the pure Ruby [json_pure] gem is good enough. If you have performance requirements, the [oj] gem seems fairly popular and I've heard success stories. It's supposedly faster than yajl-ruby at least for som...
- 01:43 PM Revision c26e41c9 (git): * 2022-01-28 [ci skip]
-
01:42 PM Revision e0c5488f (git): Update to ruby/spec@902ab83
-
01:42 PM Revision bb5f7108 (git): Update to ruby/mspec@49adc2f
-
01:40 PM Bug #18518: NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
- From this log it's clear this issue happens on 3.1.0 macOS:
https://github.com/eregon/rubyspec/runs/4981235909?check_suite_focus=true
```
2022-01-28T13:37:48.1570860Z Integer#<< (with n << m) when m is a bignum or larger than int
202... -
01:29 PM Bug #18518: NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
- Actually I'm not sure this is properly fixed on 3.1.0, it looks brittle, for instance it fails in GitHub Actions on macOS:
https://github.com/ruby/spec/runs/4981061444?check_suite_focus=true
NoMemoryError might also be a bit weird for t... -
09:43 AM Feature #18552 (Closed): Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- Nevermind, on first read I didn't notice that these were two distinct function. That's good enough I think, no need to expose a new function. Closing.
-
09:33 AM Feature #18554: Move unicode_normalize to a default gem
- Just a few comments, not sure I have thought everything through completely.
One of the motivations for implementing unciode_normalize in pure Ruby was to make it easy for other Ruby implementations to use this code, so from this viewp... -
01:03 AM Feature #18554: Move unicode_normalize to a default gem
- Just leaving my :+1: to this idea; not sure how difficult though.
-
06:23 AM Feature #18136: take_while_after
- In today's developer meeting, Matz said the only acceptable name so far was "drop_after" (if he had to choose). He's still not quite convinced of the need for this feature.
01/27/2022
-
10:42 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- > The name rb_singleton_class_get() doesn't seem great though.
Yeah, it could definitely be expose under another name.
> ...
I don't follow, how could this expression ever be false? -
09:15 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- A new function seems better than that flag check (which doesn't work on TruffleRuby currently, will always return `false`).
The name `rb_singleton_class_get()` doesn't seem great though.
However I think there is already a way to chec... -
05:22 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- > Which does seem very clean.
I of course meant "doesn't". Oops.
> ...
To be fair, I was entertaining the idea to also open a feature request to get a Ruby side API for it, e.g. `Object#has_singletong_class?`.
> We should review... -
05:12 PM Feature #18552: Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- > `!SPECIAL_CONST(obj) && FL_TEST(RBASIC(obj)->klass, FL_SINGLETON);`
> ...
Beyond cleanliness, it uses `FL_SINGLETON`, which is [marked] `@internal`. I
agree with @shyouhei that this flag should not be visible in the first place.
Als... -
11:57 AM Feature #18552 (Closed): Expose `VALUE rb_singleton_class_get(VALUE)` to extensions
- Right now the only way to check wether an object has a singleton class is to do something akin to:
```c
!SPECIAL_CONST(obj) && FL_TEST(RBASIC(obj)->klass, FL_SINGLETON);
```
Which doesn't seem very clean.
### Use case
This ... -
04:49 PM Feature #18554 (Open): Move unicode_normalize to a default gem
- Could we move the rest of unicode_normalize to a default gem?
The recent updates were mostly updating the Unicode tables, which a user might want to be able to update in an existing Ruby installation. Additionally, this is one of the ... -
04:22 PM Feature #18339: GVL instrumentation API
- I opened a draft for it: https://github.com/ruby/ruby/pull/5500
@ko1 if you'd like to have a look. -
02:30 PM Bug #18553 (Closed): Memory leak on compiling method call with kwargs
- The following code produces a memory leak:
```ruby
p(foo: 1)
```
It comes from the allocation in `compile.c`:
```c
struct rb_callinfo_kwarg *kw_arg =
rb_xmalloc_mul_add(len, sizeof(VALUE), sizeof(struct rb_ca... -
11:54 AM Revision d66e7ec7 (git): [ruby/reline] Add a comment for VK_MENU
- https://github.com/ruby/reline/commit/ee307c2b01
-
11:54 AM Revision f4ee6054 (git): [ruby/reline] The AltGr behaves exactly the same as Ctrl+Alt
- On European keyboards.
https://github.com/ruby/reline/commit/75fe9759a4 -
09:11 AM Bug #18516: Memory leak on aliasing method to itself
- I took the liberty to set the backport field.
I was able to repro on 2.6, 2.7,3.0 and 3.1. However 2.6 is security only, I don't think it qualifies. -
06:46 AM Bug #18516 (Closed): Memory leak on aliasing method to itself
- Applied in changeset commit:git|e89d80702bd98a8276243a7fcaa2a158b3bfb659.
----------
Fix memory leak at the same named alias [Bug #18516]
When aliasing a method to the same name method, set a separate bit
flag on that method definition... -
08:16 AM Revision f511ff3b (git): [ruby/yaml] Add JRuby-specific warning when psych fails
- The error here is confusing for users because JRuby does not use
libyaml and installing it will not help. Instead, JRuby directs
them to a wiki page that describes an issue when multiple
conflicting versions of SnakeYAML are installed.
... -
06:46 AM Revision e89d8070 (git): Fix memory leak at the same named alias [Bug #18516]
- When aliasing a method to the same name method, set a separate bit
flag on that method definition, instead of the reference count
increment. Although this kind of alias has no actual effect at
runtime, is used as the hack to suppress th... -
05:58 AM Feature #18551 (Closed): Make `Range#reverse_each` to raise an exception if endless
- https://github.com/ruby/ruby/pull/5498
Currently, `Range#reverse_each` for an endless range never returns.
```
% ruby -e '(1..).reverse_each { }'
# never return ...
```
(This is because `Enumerable#reverse_each` tries `#to_a`... -
05:28 AM Revision 7ff1bf31 (git): An alias can suppress method redefinition warning
-
05:00 AM Bug #18517 (Closed): 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- Applied in changeset commit:git|6a6227e0168b059c3ed34c9f0ace2e5dc2364221.
----------
Shifting zero always results in zero [Bug #18517] -
05:00 AM Revision 6a6227e0 (git): Shifting zero always results in zero [Bug #18517]
-
04:51 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- I released date-2.0.3 with Reiwa support.
@kouji Can you confirm with [date-2.0.3](https://rubygems.org/gems/date/versions/2.0.3) ?
After that, I will create backport patch for Ruby 2.6.10. - 03:33 AM Revision 99d02cae (git): [ruby/logger] Fix log rotation inter-process lock failed.
- Issue only occurs in JRuby 9.3.0.0 and Windows and the full
console output is:
log rotation inter-process lock failed. D:\log.txt -> D:\log.txt.0: The process cannot access the file because it is being used by another process.
log writi... -
01:52 AM Feature #18513: Hide patchlevel from `ruby -v`
- https://github.com/ruby/ruby/pull/5496
01/26/2022
-
08:56 PM Feature #13110: Byte-based operations for String
- Seems reasonable to me.
-
01:46 AM Feature #13110: Byte-based operations for String
- Are there any objections to introduce only byteindex and byteoffset?
-
08:28 PM Revision d3d888b9 (git): [lldb] Handle MacOS 64Kb heap pages in the lldb helpers
-
07:42 PM Bug #18511: ruby in infinite loop consuming 100% CPU
- @shenningz
> Is there any way to replace the yajl-ruby C extension with another json extension?
Depending on your needs, maybe the pure Ruby [json_pure] gem is good enough. If you have performance requirements, the [oj] gem seems ... -
07:07 PM Feature #18408: Allow pattern match to set instance variables
- Eregon (Benoit Daloze) wrote in #note-17:
> In practice it should rarely matter because if a clause isn't matched the code should obviously not look at variables not set by that clause.
I'm not sure I agree with that. When I have `if... -
05:02 PM Revision 1a180b7e (git): Streamline cached attr reader / writer indexes
- This commit removes the need to increment and decrement the indexes
used by vm_cc_attr_index getters and setters. It also introduces a
vm_cc_attr_index_p predicate function, and a vm_cc_attr_index_initalize
function. -
04:29 PM Bug #18389 (Closed): `binding.irb` can fail in some classes that implement `context` and `print` methods.
- Applied in changeset commit:git|b6b2e489f10bfc771beae8fa0ee5237613acd18f.
----------
[ruby/irb] Changed to call Kernel.print
If you call `binding.irb` on a class defined `#print`, it will crash, so call `Kernel.print`.
Fix [Bug #18389... - 04:29 PM Revision 3ce97a18 (git): * 2022-01-27 [ci skip]
-
04:28 PM Revision b6b2e489 (git): [ruby/irb] Changed to call Kernel.print
- If you call `binding.irb` on a class defined `#print`, it will crash, so call `Kernel.print`.
Fix [Bug #18389] `binding.irb` can fail in some classes that implement `context` and `print` methods.
https://github.com/ruby/irb/commit/d54b... -
04:03 PM Bug #18517: 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- https://github.com/ruby/ruby/pull/5494
-
03:21 PM Bug #18517 (Closed): 0 << (2**40) is NoMemoryError but 0 << (2**80) is 0
- I've been looking at Integer#{<<,>>} with RHS bignum and long and there are several issues.
This seems a clear bug though:
```
$ruby -e 'p 0 << (2**40)'
-e: failed to allocate memory (NoMemoryError)
$ ruby -e 'p 0 << (2**80)'
0
``` -
03:44 PM Bug #18516: Memory leak on aliasing method to itself
- https://github.com/ruby/ruby/pull/5493
-
03:20 PM Bug #18516: Memory leak on aliasing method to itself
- ibylich (Ilya Bylich) wrote in #note-1:
> but if we stop increment `alias_count` on `alias foo foo` the warning appears (because `alias foo foo` becomes a real noop, with absolutely no side effect).
Rails heavily depends on this beha... -
02:30 PM Bug #18516: Memory leak on aliasing method to itself
- As @nobu mentioned the following code gives no warnings (in verbose mode):
```ruby
class A
def foo; end
alias foo foo;
def foo; end
end
```
but if we stop increment `alias_count` on `alias foo foo` the warning appears (... -
01:22 PM Bug #18516 (Closed): Memory leak on aliasing method to itself
- The following code produces a memory leak:
```ruby
class A
1.upto(Float::INFINITY) do |i|
define_method(:"foo_#{i}") {}
alias :"foo_#{i}" :"foo_#{i}"
remove_method :"foo_#{i}"
end
end
```
It is very arti... -
03:30 PM Bug #18518 (Rejected): NoMemoryError + [FATAL] failed to allocate memory for twice 1 << large
- Repro:
```ruby
exp = 2**40 # also fails with bignum e.g. 2**64
def exc
begin
yield
rescue NoMemoryError => e
p :NoMemoryError
end
end
p exp
exc { (1 << exp) }
exc { (-1 << exp) }
exc { (bignum_value << exp)... -
02:45 PM Revision e7141630 (git): Fix typo in assertion in gc.c
-
09:23 AM Revision bffd6cbd (git): Check if `execv` is available for ruby/missing.h
- As MinGW has the declaration, the `dllimport` attribute difference
is warned when compiling missing/*.c without including ruby/win32.h.
```
../src/include/ruby/missing.h:316:17: warning: 'execv' redeclared without dllimport attribute: p... -
07:52 AM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
- Thanks @tenderlove, your explanation makes sense to me.
From your description we should be able to reproduce with `GC.stress = true` no?
-
06:56 AM Revision 4010cbfe (git): Use the prefixed pkg-config command
-
05:57 AM Feature #18515 (Closed): Add Range#reverse_each implementation
- PR is ~~https://github.com/ruby/ruby/pull/5489~~ https://github.com/ruby/ruby/pull/8525
Current `Range#reverse_each` uses `Enumerable#reverse_each` which is implemented with `#to_a`.
So we are virtually not able to use `reverse_each`... -
05:34 AM Revision 16e75855 (git): Unpoison the cached object in the exact size
-
04:09 AM Revision c925d3b6 (git): [rubygems/rubygems] Fix `force_ruby_platform` ignored when lockfile includes the current specific platform
- https://github.com/rubygems/rubygems/commit/9ca371adf8
-
03:07 AM Bug #18514: ruby 2.6.9's Date#jisx0301 does not support Reiwa
- I prepared to fix this regression.
https://github.com/ruby/date/pull/47
I will release date-2.0.3 for Ruby 2.6 in a few days. -
02:11 AM Bug #18514 (Closed): ruby 2.6.9's Date#jisx0301 does not support Reiwa
-
01:45 AM Bug #18514 (Closed): ruby 2.6.9's Date#jisx0301 does not support Reiwa
- In ruby 2.6.9 (ruby 2.6.9p207 (2021-11-24 revision 67954) [x86_64-darwin20]).
$ ruby -rdate -e 'p Date.new(2019, 5, 1).jisx0301'
=> "H31.05.01"
In ruby 2.6.6 and 2.7.5.
=> "R01.05.01"
ruby 2.6.9's Date#jisx0301does not support R... -
01:52 AM Feature #18513: Hide patchlevel from `ruby -v`
- :+1:, patch levels no longer serves us very well.
-
01:05 AM Revision cc8064ba (git): Do not need to print to stderr
-
12:56 AM Revision e953d686 (git): refactoring btest output
- don't duplicate the message, but prepare `out` var to choose
stdout/err. -
12:56 AM Revision cac6fe90 (git): add `--stderr-on-failure` option to test-all
- Now all failure messages are printed to stdout. This option
makes all failure messages printed into stderr.
01/25/2022
-
11:57 PM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
- ## Hash is writing T_NONE references
I think it's possible that T_NONE objects are being written in to a hash. Basically we dup the string key, and if the hash needs to expand, it does so before actually inserting the key. The expan... -
09:51 PM Revision 142d5db1 (git): Support ID_TABLE_STOP for replace function
- Iteration should top if the replace function returns ID_TABLE_STOP.
-
09:51 PM Revision 82f0580a (git): Call rb_id_table_foreach_values instead
- These places never replace the value, so call rb_id_table_foreach_values
instead of rb_id_table_foreach_values_with_replace. -
09:51 PM Revision 4d9ad91a (git): Rename rb_id_table_foreach_with_replace
- Renames rb_id_table_foreach_with_replace to
rb_id_table_foreach_values_with_replace and passes only the value to the
callback. We can use this in GC compaction when we cannot access the
global symbol array. -
08:57 PM Revision 6e901939 (git): Revert "`ID` in `rb_id_table_foreach_with_replace` [Feature #18253]"
- This reverts commit 530e485265dac6e2aea1d587a4a79a314cc772cf.
`rb_id_table_foreach_with_replace` is used during GC compaction,
and the global symbols array can have been moved at that time. - 05:24 PM Revision ac574052 (git): * 2022-01-26 [ci skip]
- 05:24 PM Revision 42ef3fca (git): [rubygems/rubygems] Use Gem::Platform.local instead of RUBY_PLATFORM
- In certain places, we want to display the platform name with
`Gem::Platform.local` instead of `RUBY_PLATFORM`.
Fixes https://github.com/rubygems/rubygems/issues/5264
https://github.com/rubygems/rubygems/commit/bdd1848ae8 -
02:38 PM Revision b07879e5 (git): Remove redundant if statement in try_move
- The if statement is redundant since if `index == 0` then
`BITS_BITLENGTH * index == 0`. -
02:10 PM Revision e3b5cc88 (git): NEWS: `Fixnum` and `Bignum` are removed finally [Feature #12005]
-
01:12 PM Revision 342e7a09 (git): [rubygems/rubygems] Fix spec to not touch the network
- And not depend on the state of rack's master branch, in particular, on
their Ruby support range.
https://github.com/rubygems/rubygems/commit/9ea4baffac -
01:12 PM Revision cd806e19 (git): [rubygems/rubygems] Remove unnecessary comment
- https://github.com/rubygems/rubygems/commit/ef4e5c6169
-
12:39 PM Feature #18513 (Closed): Hide patchlevel from `ruby -v`
- We still show patch-level like `3.1.0p0` with `ruby -v`. But it has no benefit for users.
In fact, I heard "What does "p0" mean?" from Ruby programmer in this week.
I think we should show only `3.2.0` after Ruby 3.2.0 for especial... -
11:29 AM Bug #18512 (Feedback): MacOS 12.1 Monterey Bug
- Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
-
11:20 AM Bug #18512: MacOS 12.1 Monterey Bug
- I guess this is related to #18496, and maybe the cause is FFI with M1.
-
10:41 AM Bug #18512 (Third Party's Issue): MacOS 12.1 Monterey Bug
- Steps to Reproduce
1. Create an Zendesk App: https://developer.zendesk.com/documentation/apps/app-developer-guide/zat/
2. Run `zat server`
{"app_name":"ruby","timestamp":"2022-01-25 10:14:26.00 +0000","app_version":"","slice_uuid":"... -
08:57 AM Bug #18507: Incorrect target_os detection in configure script
In case 'arm-unknown-linux-gnueabihf' GNU Autotools recognizes target_os as 'linux-gnueabihf' (and 'linux-gnu' if 'arm-unknown-linux-gnu'). But ruby has own function for getting target_os during configuration process. I think there are...-
07:44 AM Feature #18483 (Closed): `RUBY_ON_BUG` feature for ruby release version
- Applied in changeset commit:git|a51e1cd682daeb76f201e62eaedcf6d51a18cffe.
----------
enable `RUBY_ON_BUG` on release build
[Feature #18483] -
07:43 AM Revision a51e1cd6 (git): enable `RUBY_ON_BUG` on release build
- [Feature #18483]
-
07:33 AM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
- Another name proposal:
When I write `array.min_with_value { foo }`, I mean "minimize foo with an element in array".
So `array.minimizing { foo }` (and `maximizing`) may be the candidate.
-
02:15 AM Feature #18490: MakeMakefile.pkg_config should accept multiple options
- @nobu, I wanted to check if there was any other feedback on this feature? Thank you again for your time.
-
12:33 AM Bug #18437 (Closed): 3.1.0 install stucks on FreeBSD & NFS
-
12:23 AM Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
- Oh, I see. Thanks for the fix.
I think this issue has been resolved.
# 自分で Issue 閉じれないんですね……。