Activity
From 02/25/2022 to 03/03/2022
03/03/2022
-
07:51 PM Bug #18608 (Open): `require': cannot load such file -- ripper (LoadError) after `make distclean`
- When compiling multiple instances of Ruby (In our case, two separate prefixes), using the following build code causes the 2nd installed Ruby to throw an error on any ruby/irb call.
Changing the code to delete the extracted `ruby-3.1.0... -
07:23 PM Revision 19f331f5 (git): Dedup superclass array in leaf sibling classes
- Previously, we would build a new `superclasses` array for each class,
even though for all immediate subclasses of a class, the array is
identical.
This avoids duplicating the arrays on leaf classes (those without
subclasses) by calculat... -
06:51 PM Bug #18607 (Feedback): Ruby 2.7.5 fails to configure on macOS Monterey on mac with M1 Pro
- I have a new Mac with an M1 Pro CPU running Monterey. I'm trying to build ruby 2.7.5 from source and running into an issue when running the configure script, as outlined below. Please note that I *am* able to build 2.6.9 and 3.0.3, so th...
-
06:19 PM Bug #18606 (Closed): [DOC] Fix typo in Array#min
-
03:49 PM Bug #18606 (Closed): [DOC] Fix typo in Array#min
- It is just a minor fixes about a typo in Array#min doc in `array.c`
It should be:
**min** returns one or more minimum...

I didn't know if it the way but I've already created a [PR](https... - 06:18 PM Revision 4d28009f (git): * 2022-03-04 [ci skip]
- 06:18 PM Revision 83225279 (git): Doc: fix documentation typo for Array#min
-
01:43 PM Revision 3b21818d (git): Update to ruby/spec@82cd3a3
-
01:43 PM Revision 1dc6bed0 (git): Update to ruby/mspec@bd47c2a
- 08:56 AM Revision c1790f8c (git): Update default gems list at 7f7db124ee6a72ec178d4045387062 [ci skip]
-
08:55 AM Revision 7f7db124 (git): [ruby/cgi] Bump up v0.3.2
- https://github.com/ruby/cgi/commit/734dfdf1b4
-
07:31 AM Bug #18605 (Open): Fails to run on (newer) 32bit Windows with ucrt
- 32bit ruby using ucrt has started to fail on newer Windows with "unexpected ucrtbase.dll" -> https://github.com/ruby/ruby/blob/3fb7d2cadc18472ec107b14234933b017a33c14d/win32/win32.c#L2591
The problem is that ruby depends on ucrt inter... -
04:39 AM Revision 7f7f07a6 (git): [DOC] mark `rb_str_init` as `:nodoc:`
- Otherwise, an empty entry will be generated as `String::new` along
with the one from doc/string.rb. -
04:37 AM Revision 5ef9f7a8 (git): [DOC] Rename doc/*.rb as doc/*.rdoc
- With `:markup: ruby` directive so that they are parsed as ruby
scripts.
03/02/2022
- 08:26 PM Revision cdb62062 (git): * 2022-03-03 [ci skip]
-
08:26 PM Revision b3123191 (git): [DOC] Addition to encoding.rdoc (#5617)
- Adds section "Transcoding a Stream," listing relevant methods in IO.
Moves an example from section "String Encoding Example" to the new section.
Removes header "String Encoding Example" for now-empty section.
Changes items in... -
02:18 PM Revision 0b661214 (git): [MSWin] Allow gems with VS2022 for VS2019 build ruby [Misc #18362]
- Although not sure if it is really compatible, let’s give it a
try. -
10:23 AM Bug #18604 (Third Party's Issue): [BUG] ERROR(VpDivd): space for remainder too small
- Seems fixed by BigDecimal 3.1.2.
-
09:37 AM Revision f07f4765 (git): Exclude binstubs tests
- When relative loading is enabled, the executable ruby is expected
installed at the same directory as the binstub. -
09:19 AM Revision db740b7e (git): Revert "enc/depend: fix out-of-src build with --with-static-linked-ext" (#5616)
- This reverts commit 32ad8df9d1e07e1b2435a8890d070802fcd2989f,
which broke out-of-src build with the pre-generated transcoder sources. -
08:13 AM Revision 2b5097b8 (git): vm_method.c: avoid signature mismatch in rb_f_notimplement call
- `rb_f_notimplement` has a similar signature with arity=-1, but it has an
extra marker argument to distinguish it from other methods in
compile-time type check in rb_define_method.
This trick is introduced to override a given arity to be ... -
05:01 AM Revision fd2e1d3c (git): [ruby/rdoc] Use `Marshal.load io` instead of `Marshal.load io.read`
- https://github.com/ruby/rdoc/commit/135198a31c
-
03:50 AM Revision 0c90ca4d (git): dir.c: use self-made IFTODT in rb_pathtype_t if available
- dir.c defines IFTODT if the system doesn't have it. The macro is used
when comparing with rb_pathtype_t's cases. rb_pathtype_t's cases are
defined by DT_XXX macro if they are available, or defined using IFTODT.
Most POSIX-compatible plat... -
12:40 AM Revision 32ad8df9 (git): enc/depend: fix out-of-src build with --with-static-linked-ext
- When out-of-src build, at the beginning of a build, `make -f enc.mk
srcs` generates trans C sources under build dir.
On the other hand, enc/trans/*.o were built from trans C sources
generated under srcdir due to the following auto-gener... -
12:27 AM Revision f7491e89 (git): Using macros to check iseq element
03/01/2022
-
06:38 PM Revision 12897218 (git): Wrap ruby_abi_version in `extern "C"` for C++
- Make ruby_abi_version have C linkage so that the symbol can be found
in the shared object. -
06:07 PM Revision 4bdb4a18 (git): Close files in examples in io.c (#5615)
-
04:45 PM Revision 7a6ba30c (git): [DOC] Add encoding external/internal example to encoding.rdoc (#5610)
- * Add encoding external/internal example to encoding.rdoc
* Add encoding external/internal example to encoding.rdoc
* Update doc/encoding.rdoc
I think there may be some more of these that I've recently put into io.c. Will check tomor... -
04:44 PM Bug #17382: Segfault in String#inspect
- I was able to reduce the reproduction example (and excluded `anyway_config` from the equation, kind of).
I guess, there is something with the following refinement (extracted from [anyway_config](https://github.com/palkan/anyway_config... -
03:55 PM Revision fb724a88 (git): Show embed status of array when len is 0 in objspace dump
- 03:50 PM Revision 77909055 (git): * 2022-03-02 [ci skip]
-
03:49 PM Revision a0e3da9e (git): Fix race in TestThread#test_thread_status_in_trap
- * If the sleep is not enough to run the rest of the logic the process
would be exited early, e.g., before the signal handler can run. -
02:44 PM Revision 25ad9eab (git): Only define RUBY_DLN_CHECK_ABI when supported
-
02:42 PM Revision 210f29a6 (git): ABI checking is not supported on Windows
-
02:33 PM Revision 33dadb2c (git): dln.c: suppress unused function 'abi_check_enabled_p' warning for wasi
-
01:11 AM Revision eebc2421 (git): [DOC] Fix reference in rb_enc_associate() description
-
01:05 AM Revision 347c3faf (git): [DOC] Fix String#getbyte doc
- * String#getbyte returns `nil` if `index` is out of range.
* Add String#getbyte example with nil output.
* Modify String#getbyte example to use negative index. -
12:59 AM Revision 1a20bb1c (git): [DOC] Fix function name in example
- 12:46 AM Revision 4a55f501 (git): * 2022-03-01 [ci skip]
-
12:46 AM Revision 11bcc0d9 (git): [DOC] Fix documentation for Array#delete
- Never returns self.
02/28/2022
-
02:55 PM Bug #18476: Call to require stuck forever after receiving EAGAIN on writev when running with zeus
- I looked into this a bit more. And I'm pretty sure this is related to the introduction of the fiber scheduler.
-
02:46 PM Feature #18589: Finer-grained constant invalidation
- So I've been digging more on the constant cache busts happening in our app, beside what I already mentioned, what I found is:
A large majority of the busts are caused by autoloaded constants in gems. A few shouldn't autoload at all, b... - 11:10 AM Revision bec492c7 (git): Update default gems list at eb40ff73bfc8afae1d87e214f31564 [ci skip]
-
11:08 AM Revision eb40ff73 (git): [ruby/securerandom] Bump up v0.2.0
- https://github.com/ruby/securerandom/commit/62ca2828f3
-
09:55 AM Bug #18604 (Third Party's Issue): [BUG] ERROR(VpDivd): space for remainder too small
- After upgrading to Ruby 3.1 one of our statistical dashboards started crashing with a message saying
[BUG] ERROR(VpDivd): space for remainder too small
### How to reproduce
This can be reproduced in irb (reproduction script ... -
09:14 AM Misc #18591: DevMeeting-2022-03-17
- * [Feature #18576] Rename `ASCII-8BIT` encoding to `BINARY`
- The patch is ready.
- I'd like to make the change for 3.2.0-preview1, so that we can get early feedback and if it's negative revert before final release.
- Matz last ... -
08:59 AM Revision bd1507b2 (git): spec: skip ext's extension spec for --with-static-linked-ext
- `resolve_feature_path` doesn't return .so when the given ext is linked
statically by --with-static-linked-ext -
08:04 AM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- @duerst Thanks, I have created a PR. https://github.com/ruby/ruby/pull/5607
-
04:29 AM Revision 32f356e8 (git): Fix a typo of macro name
- When the date is 28 Feb in the local timezone and 27 in the UTC,
the leap second info is wrongly calculated, and the Time for 1 Mar
created with a timezone resulted in an invalid date, 30 Feb. -
02:40 AM Revision 1cb67905 (git): st.c: Fix a typo in a comment
-
02:39 AM Revision ff3d7b72 (git): Merge RubyGems and Bundler master
02/27/2022
- 09:43 PM Revision 02ead4a8 (git): * 2022-02-28 [ci skip]
-
09:43 PM Revision 28ee1ca7 (git): [DOC] Enhanced RDoc for encoding (#5603)
- Additions and corrections for external/internal encodings.
-
05:04 PM Feature #18603: Allow syntax like obj.method(arg)=value
- IMHO way too complicated and `[]=` seems good enough for this use case.
Also it would be very confusing as the similar and existing syntax `def obj.method(arg) = value` means something completely different. -
02:31 PM Feature #18603: Allow syntax like obj.method(arg)=value
- @sawa - My proposal would be to allow omitting parentheses only if there are no arguments provided, ie. how it is currently.
```ruby
self.xyz = 6 # correct currently
self.xyz() = 6 # correct under the proposal
self.xyz(a) = 6 # cor... -
08:17 AM Feature #18603: Allow syntax like obj.method(arg)=value
- I believe in this particular case it would make more sense to have a dual method to `dig`, rather than adding additional complexity to the syntactic sugar around `=`. There were proposals in the past for `Enumerable#bury` that targeted t...
-
08:03 AM Feature #18603: Allow syntax like obj.method(arg)=value
- Notice that, while `[]` in `[]=` cannot be omitted, `()` in method invocation can be omitted. Are you expecting `()` in the proposed feature to be omittable or not? Either way, I think it would introduce complexity. I think that is a cru...
-
03:14 AM Feature #18603 (Open): Allow syntax like obj.method(arg)=value
- I propose here to allow a syntax like:
```ruby
obj.method(arg) = value
```
It would be translated to the following:
```ruby
obj.__send__(:method=, arg, value)
```
The lack of this syntax kind of limits the ability to desi... -
12:58 PM Revision 7f434563 (git): fake.rb: Set prefix to `$topdir`
- Not to refer outside the top build directory from rbconfig.
-
12:44 PM Revision 289a4cf6 (git): [DOC] Extend intro/defn of 'transcoding' (#5602)
- * Extend intro/defn of 'transcoding'
-
05:36 AM Bug #18590: String#downcase and CAPITAL LETTER I WITH DOT ABOVE
- mame (Yusuke Endoh) wrote in #note-9:
> I wanted to create a PR to fix the document, but I am unsure what document is the best reference for full case mapping. @duerst Could you please fix it? Or should we wait until the chart will be... -
03:24 AM Feature #18583: Pattern-matching: API for custom unpacking strategies?
- > `# looking into global value isn't exactly elegant, right?`
It's not global, it's Fiber-local, so are $1 and friends. This may not be messaged well enough in the documentation though...
```ruby
[1] pry(main)> z = Fiber.new { /(....
02/26/2022
-
11:56 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- Updated timing check code to be more fair.
-
11:20 PM Feature #18597: Strings need a named method like `dup` that doesn't duplicate if receiver is mutable
- This is my last attempt to show why this named method is needed. The `driver.rb` file shows the patterns that apply to all sorts of code.
- 03:15 PM Revision 1e4ee10f (git): * 2022-02-27 [ci skip]
-
12:50 PM Revision 3e5d7e31 (git): [DOC] Move String.new to allow non US-ASCII characters
-
07:34 AM Revision 0be2049a (git): [DOC] Fix the pseudo code
-
07:23 AM Revision 62c15833 (git): [DOC] Place a non-US-ASCII document in a document-specific script
-
04:27 AM Bug #18602 (Closed): OpenSSL is not available.
- t3rcio (Tercio Oliveira) wrote in #note-4:
> Now I have openssl support.
Great! So this issue can be closed.
> ...
If you were going to report the bug, you would report it to the rubygems-server project. I checked and the bug ha... -
03:07 AM Bug #18602: OpenSSL is not available.
I tried your suggestion:
```
You may want to use --with-openssl-include=/path/to/openssl/headers --with-openssl-lib=/path/to/openssl/lib, with values appropriate to your installation.
```
but it didn't work.
After read the code a...
02/25/2022
-
07:12 PM Revision 26ffda2f (git): [DOC] Enhanced RDoc for some encoding methods (#5598)
- In String, treats:
#b
#scrub
#scrub!
#unicode_normalize
#unicode_normalize!
#encode
#encode!
Also adds a note to IO.new (suggested by @jeremyevans). -
06:03 PM Bug #17382 (Open): Segfault in String#inspect
-
10:55 AM Bug #17382: Segfault in String#inspect
- I've attached code that reproduces the issue, along with output and the macOS crash report from my machine. Just run `bundle` and then `ruby segfault.rb`. It reliably segfaults for me within a minute or two on Ruby 2.7.5. I tried it on R...
- 05:43 PM Revision 189ac52b (git): * 2022-02-26 [ci skip]
-
05:42 PM Revision e82f5db7 (git): Deprecate the unintentional ability to parse `Symbol`
-
05:40 PM Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
- This happened again in Ruby 3.1. I have not audited the other gems, but at least securerandom was modified in both repositories but those changes were not released as a new gem.
https://github.com/ruby/securerandom/issues/10 -
03:45 PM Bug #18602: OpenSSL is not available.
- From your `mkmf.log`:
```
/opt/ruby-3.1.1/ext/openssl/extconf.rb:100: OpenSSL library could not be found. You might want to use --with-openssl-dir=<dir> option to specify the prefix where OpenSSL is installed.
```
I see you attem... -
12:41 PM Bug #18602: OpenSSL is not available.
- jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Did you reinstall Ruby after installing openssl/libssl-dev? If so, how did you install Ruby? Can you post the configure environment and args, and upload the build log (output of configur... -
01:27 AM Bug #18602 (Feedback): OpenSSL is not available.
- Did you reinstall Ruby after installing openssl/libssl-dev? If so, how did you install Ruby? Can you post the configure environment and args, and upload the build log (output of configure/make) and `ext/openssl/mkmf.log`?
-
01:20 AM Bug #18602 (Closed): OpenSSL is not available.
- The following exception:
```
ERROR: While executing gem ... (Gem::Exception)
OpenSSL is not available. Install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
```
is triggered when try to install a gem.
The syste... -
11:39 AM Revision 8780f15f (git): [ruby/date] Use `assert_deprecated_warn`
- https://github.com/ruby/date/commit/c55004715a
-
11:01 AM Revision 0db5ee51 (git): [ruby/date] Suppress declaration-after-statement warnings
- https://github.com/ruby/date/commit/60bd16009d
-
10:57 AM Revision bb22bc76 (git): [ruby/date] Deprecate the unintentional ability to parse `Symbol`
- https://github.com/ruby/date/commit/d57818f3b3
-
10:52 AM Revision d4f32b6b (git): [ruby/date] Scale timeouts
- https://github.com/ruby/date/commit/2889698e2f
-
10:52 AM Revision 4933d7fe (git): [ruby/date] Update tests
- https://github.com/ruby/date/commit/5a138afce9
-
10:52 AM Revision b5c2a084 (git): [ruby/date] Anchor at beginning of numbers
- https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/2f7814cc22 -
10:52 AM Revision 1758eade (git): [ruby/date] Anchor at beginning of numbers
- https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/7ffe25e458 -
10:52 AM Revision d54a3df2 (git): [ruby/date] Separate era from preceding word
- https://github.com/ruby/date/commit/017149e53e
-
10:52 AM Revision c8cddac4 (git): [ruby/date] Use possessive match
- Reduce backtracks at the same character classes arounding an
optional pattern.
https://github.com/ruby/date/commit/1fd15f7c49 -
10:52 AM Revision 9f59a2bd (git): [ruby/date] Extracted common leading pattern
- https://github.com/ruby/date/commit/ec86dbbdc1