Skip to content

Releases: postmodern/ruby-install

0.10.2

Choose a tag to compare

@postmodern postmodern released this 13 Jan 23:54
v0.10.2
  • Improve detection of specific Linux distributions.
  • Fix detection of OpenSUSE.
  • Fixed loading of ruby dependencies when --no-install-deps is specified.

ruby

  • Pass the paths to [homebrew] and [macports] dependencies to ./configure using individual --with-*-dir options, instead of a single --with-opt-dir option. In Ruby < 3.4.0 the --with-opt-dir option was not treated the same as individual --with-*-dir options.
  • Omit the bison and readline dependencies for Ruby >= 3.3.0.
  • Added the gmp library as a dependency to accelerate the Bignum class.

truffleruby / truffleruby-graalvm

0.10.1

Choose a tag to compare

@postmodern postmodern released this 06 Feb 18:54
v0.10.1

ruby

  • Pass in the path of homebrew's jemalloc to ./configure via --with-opt-dir.

0.10.0

Choose a tag to compare

@postmodern postmodern released this 05 Feb 22:26
v0.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 and curl.
  • 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 the rustc 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

Choose a tag to compare

@postmodern postmodern released this 13 Dec 22:59
v0.9.4

ruby

  • Changed the apt ncurses dependency from libncurses5-dev to libncurses-dev.
  • Added xz as a homebrew dependency.

truffleruby

  • Update the homebrew openssl dependency to openssl@3.

truffleruby-graalvm

  • Update the homebrew openssl dependency to openssl@3.

0.9.3

Choose a tag to compare

@postmodern postmodern released this 01 Dec 21:16
v0.9.3
  • 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 openssl@1.1 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.

0.9.2

Choose a tag to compare

@postmodern postmodern released this 19 Sep 20:17
v0.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

Choose a tag to compare

@postmodern postmodern released this 23 Jun 16:27
v0.9.1
  • --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.

0.9.0

Choose a tag to compare

@postmodern postmodern released this 19 Apr 23:39
v0.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 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.