rbenv / ruby-build

A tool to download, compile, and install Ruby on Unix-like systems.
https://rbenv.org/man/ruby-build.1
MIT License
3.89k stars 785 forks source link

Skip passing `--with-readline-dir` for Ruby 3.3+ #2333

Closed mislav closed 10 months ago

mislav commented 10 months ago

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