Releases: postmodern/ruby-install
Releases · postmodern/ruby-install
0.10.1
0.10.0
- If the installation directory or one of it's parent directories cannot be written to then
ruby-install
will exit with an error before attempting to build the Ruby. - When running under a non-TTY, disable the more verbose output of
wget
andcurl
. - Expand relative paths given to the
--src-dir
,--install-dir
, and--rubies-dir
options.
ruby
-
Run
make
with-j
option with the number of CPU cores by default. -
Omit the
gdbm
dependency for ruby versions >= 3.1.0. -
Add
libjemalloc
as a dependency if the--with-jemalloc
configuration option is given:$ ruby-install ruby -- --with-jemalloc
-
Add
rust
/rustc
as a dependency if the--enable-yjit
configuration option is given and therustc
command is not already installed. This will fully build and enable YJIT support:$ ruby-install ruby -- --enable-yjit
jruby
- Updated the dependencies for supported package managers:
apt
-default-jre
dnf
-java-latest-openjdk
yum
-java-latest-openjdk
pacman
-jre21-openjdk
zypper
-java-21-openjdk
xbps
-openjdk-jre
brew
-openjdk
port
-openjdk21
pkg
-openjdk21-jre
- Only install the OpenJDK JRE package if the
java
command is not already
installed.
mruby
- Run
make
with-j
option with the number of CPU cores by default.
0.9.4
0.9.3
- Run
brew
under the original$SUDO_USER
ifruby-install
is being ran
undersudo
to avoid runningbrew
asroot
.
ruby
- Specify the homebrew
openssl
installation directory using the
--with-openssl-dir
option, in addition to--with-opt-dir
. - When the package manager is
brew
, install[email protected]
for Ruby <= 3.0
andopenssl@3
for Ruby >= 3.1, respectively. - When the package manager is
port
, installopenssl11
for Ruby <= 3.0
andopenssl3
for Ruby >= 3.1, respectively.
0.9.2
- Corrected the documentation for the
-j
/--jobs
option.
truffleruby
- Added support for TruffleRuby 23.1.0.
truffleruby-graalvm
- Added support for TruffleRuby 23.1.0.
0.9.1
--debug
will now show thewget
orcurl
command when downloading
ruby version information.- Prefer
curl
overwget
when on macOS, otherwise preferwget
overcurl
. - Fixed an implicit string splitting bug when passing in compiler env variables
via the additional configuration options
(ex:ruby-install ruby -- CFLAGS="-O3 ..."
). - Catch unknown ruby implementation names early before attempting to download
version information for them.
truffleruby
- Added support for installing TruffleRuby 23.0.0.
truffleruby-graalvm
- Added support for installing TruffleRuby+GraalVM 23.0.0.
- This uses the new Oracle GraalVM distribution which uses the GFTC license
as it is significantly faster than GraalVM CE and is free for development
and production use.
- This uses the new Oracle GraalVM distribution which uses the GFTC license
0.9.0
- Added the
-U
,--update
option which will eventually replace
-L
,--latest
. - Added the
-D
,--debug
option for outputting[DEBUG]
messages and
showing which commands are actually ran during installation. - Added support for the
RUBY_INSTALL_SRC_DIR
environment variable for
controlling the defaultsrc
directory. - Added support for the
RUBY_INSTALL_RUBIES_DIR
environment variable for
controlling the default installation directory. - Added support for the
RUBY_INSTALL_PKG_MANAGER
environment variable for
controlling which package manager to use by default. - Automatically update the ruby versions and checksums if the given ruby version
is not known. - Added support for Void Linux's
xbps
package manager.
functions.sh
- Added the
ruby_build_dir
variable. - Added the
load_dependencies
andload_dependencies_from
functions. - Added the
is_unknown_ruby_version
function.
rbx
- Dropped support for installing Rubinius, since it does not appear to be
actively maintained and is not widely used anymore.