summaryrefslogtreecommitdiff
path: root/include/ruby/internal/variable.h
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2024-10-25 09:55:25 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-10-26 18:44:15 +0900
commita5bd0c638a600a5cfb0d99ee64ba8172a9c66535 (patch)
treeff9d9c676a992d621ab027b1dfd171f58710d875 /include/ruby/internal/variable.h
parent3daf16e51fcd21e964525d7e64cec646a49236ff (diff)
[ruby/json] Workaround rubygems $LOAD_PATH bug
Ref: https://github.com/ruby/json/issues/647 Ref: https://github.com/rubygems/rubygems/pull/6490 Older rubygems are executing `extconf.rb` with a broken `$LOAD_PATH` causing the `json` gem native extension to be loaded with the stdlib version of the `.rb` files. This fails with ``` json/common.rb:82:in `initialize': wrong number of arguments (given 1, expected 0) (ArgumentError) ``` Since this is just for `extconf.rb` we can probably just accept that extra argument and ignore it. The bug was fixed in rubygems 3.4.9 / 2023-03-20 https://github.com/ruby/json/commit/1f5e849fe0
Diffstat (limited to 'include/ruby/internal/variable.h')
0 files changed, 0 insertions, 0 deletions