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)
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)
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)
`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)
```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)
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)
**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)