Apparently, --with-readline-dir is no longer needed starting from Ruby 3.3.0. It doesn't seem harmful to pass it, but since it might cause confusion to see the implicit value being passed as part of ruby-build output, it might be a good idea to only conditionally pass it for older rubies.
Apparently,
--with-readline-dir
is no longer needed starting from Ruby 3.3.0. It doesn't seem harmful to pass it, but since it might cause confusion to see the implicit value being passed as part of ruby-build output, it might be a good idea to only conditionally pass it for older rubies.Fixes https://github.com/rbenv/ruby-build/issues/2330