index

id: fde9d0ceaf28d3e1b88360482a11b7b908091a0a81658705521f7160058a3ed3

id (bech32): note1lh5apn409rf7rwyrvpyz5ydhhyyqjxs2s9jcwp2jrackqpv28mfsnm4teh

sig: a9e23aa4c30db22e6fa58d85d24a0264afe68f071ff34ee6ded0d1d95e9a1a9789dbc8b344fde64e0d8e30157e24fe7540a85eeb6f29771f1bbede115b085c8a

created_at: 2025-03-28 16:38:29 +0900

created_at (unix time): 1743147509

content:

Rubyのparser gemが3.4になってから互換性が無いです警告をずっと出し続けてきていて,しかしparser gem自体はもう古いからPrism使いなよ,って案内を出してきてる.

> The parser gem is only compatible with the syntax of Ruby 3.3 and lower. For Ruby 3.4 and later, please use the Prism::Translation::Parser instead.

https://github.com/whitequark/parser/tree/6c925331c843ee57205940c2223da0fab665dd66

どうしましょうかね…

---

以下実験メモ

警告メッセージ

```
warning: parser/current is loading parser/ruby34, which recognizes 3.4.0-dev-compliant syntax, but you are running 3.4.1.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
```

再現方法

`Dockerfile`

```
FROM ruby:3.4.1
RUN gem install parser
CMD ["ruby", "-e", "require 'parser/current'"]
```

```sh
docker image build . -t parser341
docker container run --rm parser341
```

JSON