| What it is | A server-optimised Ruby distribution: precompiled MRI packages built with jemalloc and malloc_trim. | Download, compile, and install Ruby on Unix-like systems | Ruby Version Manager: install several Ruby interpreters side by side and switch between them, each with its own named gemsets. | A high performance implementation of the Ruby programming language, built on GraalVM |
| Features | - precompiled Ruby binaries as DEB and RPM packages
- APT and YUM repositories for updates
- normal, jemalloc and malloc_trim variants of each version
- multiple Ruby versions installed in parallel
- rbenv integration
- no compiler needed on servers
- Ubuntu, Debian and Enterprise Linux packages
| - rbenv install command as an rbenv plugin
- standalone ruby-build command
- build definitions for CRuby, JRuby, mruby, PicoRuby and TruffleRuby
- installs the latest release of a series (rbenv install 3)
- custom build definition files and directories
- links or builds a compatible OpenSSL
- download cache and mirror support
- configure, make and compiler flags through environment variables
| - install and switch between multiple Ruby interpreters
- named gemsets per project, environment or branch
- per-project Ruby and gemset files
- run commands against several Ruby versions at once
- one-line installer with optional Ruby and Rails
- single-user or multi-user install
- autolibs installs build dependencies
| - no global interpreter lock: Ruby code and thread-safe C extensions run in parallel
- most C extensions work out of the box, including database drivers
- Native Standalone with fast startup, JVM Standalone with best peak performance
- interoperability with Java, JavaScript, Python and WebAssembly
- profiler, debugger and VisualVM support
- passes around 98% of ruby/spec
- installs with rbenv, ruby-build, asdf, mise, RVM or ruby-install, and in CI with ruby/setup-ruby
|
| Limitations | - The Server Edition is in beta; the container and Heroku editions aren't available yet.
| - Doesn't run on Windows: it builds Ruby from source on Unix-like systems
- Doesn't know about a new Ruby release until you upgrade it: each version's build definition ships with ruby-build
- Doesn't check for system build dependencies before compiling: install build tools and development headers first
| - On Windows it runs only under Cygwin or Bash on Ubuntu on Windows (WSL).
| - Not yet 100% compatible with MRI 4.0
- Needs a fair amount of warmup to reach peak performance
- Runs on Linux (x86_64 and AArch64) and macOS on AArch64 only
|