Ruby Install Versions Save

Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby

v0.9.3

6 months ago
  • Run brew under the original $SUDO_USER if ruby-install is being ran under sudo to avoid running brew as root.

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 and openssl@3 for Ruby >= 3.1, respectively.
  • When the package manager is port, install openssl11 for Ruby <= 3.0 and openssl3 for Ruby >= 3.1, respectively.

v0.9.2

8 months ago
  • 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.

v0.9.1

11 months ago
  • --debug will now show the wget or curl command when downloading ruby version information.
  • Prefer curl over wget when on macOS, otherwise prefer wget over curl.
  • 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.

v0.9.0

1 year ago
  • 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 default src 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 and load_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.