General

Profile

radarek (Radosław Bułat)

  • Login: radarek
  • Registered on: 07/09/2008
  • Last sign in: 11/19/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 14 14

Activity

02/24/2025

12:12 AM Ruby Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled
shioimm (Misaki Shioi) wrote in #note-5:
> If possible, could you run these and let me know the results?
> ...
It fails for ruby 3.4.2:
```
$ RBENV_VERSION=3.4.2 ruby -v -rnet/http -e 'puts Net::HTTP.get(URI("http://example.com/"))...
radarek (Radosław Bułat)

02/20/2025

02:25 PM Ruby Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled
I have the same issue with ruby 3.4.1 and 3.4.2. Because of it I can not install gems (ie. gem install solargraph fails). Only using mentioned workaround (RUBY_TCP_NO_FAST_FALLBACK=1 gem install solargraph) I am able to do this. I have m... radarek (Radosław Bułat)

02/06/2025

03:36 PM Ruby Bug #21118 (Closed): Calling defined?(it) segfaults
```
$ ruby -e '[1, 2, 3].each { p defined?(it) }'
-e: [BUG] Unsupported node PM_IT_LOCAL_VARIABLE_READ_NODE
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin24]
-- Crash Report log information -----------------------...
radarek (Radosław Bułat)
03:32 PM Ruby Bug #21117 (Closed): Inconsistent behaviour between "_1" and "it" variables
I believe variables `_1` and `it` should have consistent behaviour and the same as normal local variables. Here are inconsistencies:
```ruby
# 1. Assigning new value
[1, 2, 3].each { |v| v = v + 1; p v } # works as expected
[1, 2, ...
radarek (Radosław Bułat)

01/15/2025

01:07 PM Ruby Bug #21040 (Rejected): String#next! method does not mutate $& variable
`String#next!` method should mutate string and return mutated version. For some reason, using it on `$&` does not mutate it but still returns new version.
Steps to reproduce (2 different ways):
```ruby
"123".gsub(/./){$&.next!} ...
radarek (Radosław Bułat)

01/29/2022

07:30 PM Ruby 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. radarek (Radosław Bułat)
07:28 PM Ruby 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...
radarek (Radosław Bułat)

09/28/2021

11:23 PM Ruby Bug #17629: macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
I believe this ticket can be closed as it is fixed in master branch. @nobu, Thank you for fixing this!
radarek (Radosław Bułat)

02/14/2021

02:56 PM Ruby Bug #17629: macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
I added `Dockerfile` with instructions to build ruby with libedit library to reproduce this bug more easily.
```
docker docker build -t readline-bug . # run inside directory with Dockerfile and bug.rb files
```
To reproduce bug:
```
d...
radarek (Radosław Bułat)
01:29 PM Ruby Bug #17629 (Closed): macOS, readline compiled with libedit: adding entries to history doesn't work unless Readline.readline is called before populating it
**Description**
If Ruby's readline extension is linked with libedit library and readline history is populated before `Readline.readline` method is called then items are not available via history navigation mechanism (`up/down` arrows)...
radarek (Radosław Bułat)

Also available in: Atom