A command-line tool to download, compile, and install any Ruby version from source on Unix-like systems.
ruby-build is a command-line tool that automates the process of downloading, compiling, and installing Ruby from source code on Unix-like systems. It solves the problem of manually managing Ruby installations by providing a consistent, scriptable method to install any Ruby version, including custom builds and patches. It is commonly used as the installation engine for the rbenv version manager.
Ruby developers and system administrators who need to install, manage, or compile multiple versions of Ruby on Unix-like systems, particularly those using rbenv for version management.
Developers choose ruby-build for its simplicity, reliability, and flexibility in installing Ruby from source. Its key advantages are seamless integration with rbenv, support for custom build definitions and patches, and extensive configuration options for advanced use cases, all while automating the complex compilation process.
A tool to download, compile, and install Ruby on Unix-like systems.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Installs any Ruby version, including stable releases, development branches, and custom builds, as shown by the --list and --definitions commands that list all available definitions.
Functions as the `rbenv install` command when used as a plugin, making it the default installation engine for rbenv users, which simplifies version management workflows.
Supports custom build definitions, patches via the --patch flag, and numerous environment variables for configuring compilation, downloads, and mirrors, offering fine-grained control.
Automatically verifies downloaded packages with checksums and allows configurable mirrors, ensuring secure and reliable installations as documented in the checksum and mirror sections.
As warned in the README, it does not verify system libraries or build tools before compilation, potentially causing build failures that require manual troubleshooting.
Installing from source can be slow and resource-intensive, especially for multiple versions or on less powerful hardware, compared to binary installers.
Designed exclusively for Unix-like systems, excluding native Windows users without workarounds like WSL, limiting its cross-platform appeal.