Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby
brew
under the original $SUDO_USER
if ruby-install
is being ran
under sudo
to avoid running brew
as root
.openssl
installation directory using the
--with-openssl-dir
option, in addition to --with-opt-dir
.brew
, install [email protected]
for Ruby <= 3.0
and openssl@3
for Ruby >= 3.1, respectively.port
, install openssl11
for Ruby <= 3.0
and openssl3
for Ruby >= 3.1, respectively.--debug
will now show the wget
or curl
command when downloading
ruby version information.curl
over wget
when on macOS, otherwise prefer wget
over curl
.ruby-install ruby -- CFLAGS="-O3 ..."
).-U
,--update
option which will eventually replace
-L
,--latest
.-D
,--debug
option for outputting [DEBUG]
messages and
showing which commands are actually ran during installation.RUBY_INSTALL_SRC_DIR
environment variable for
controlling the default src
directory.RUBY_INSTALL_RUBIES_DIR
environment variable for
controlling the default installation directory.RUBY_INSTALL_PKG_MANAGER
environment variable for
controlling which package manager to use by default.xbps
package manager.ruby_build_dir
variable.load_dependencies
and load_dependencies_from
functions.is_unknown_ruby_version
function.