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

Fix compiling Ruby < 2.5 by omitting `--with-ext` #2316

Closed mislav closed 12 months ago

mislav commented 12 months ago

Using --with-ext=+ only has the indended effect (compiling all extensions that would normally get compiled) on Ruby 2.5+. On older versions, it causes none of the default extensions to get compiled, resulting in a defunct installation.

Fixes #2315 Followup to https://github.com/rbenv/ruby-build/pull/2296