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

Introduce "with_bundled_gems" build step for dev rubies and unify "standard" #2318

Closed mislav closed 11 months ago

mislav commented 11 months ago

This merges "standard_build" and "standard_install" build steps into one again and defines a "standard_install_with_bundled_gems" build step that just invokes "standard" with the addition of update-gems & extract-gems.

The goal is to have a single standard step again instead of maintaining it as two distinct build_package_standard_build and build_package_standard_install functions.

A runtime difference that will be a result of this change is that three separate invocations make update-gems, make extract-gems, and make install are now executed as one: make update-gems extract-gems install.

/cc @hsbt as this reverts parts of https://github.com/rbenv/ruby-build/pull/1098

hsbt commented 11 months ago

👍