# rbenv/ruby-build

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/rbenv-ruby-build).**

3,971 stars · 808 forks · Shell · MIT

## Links

- GitHub: https://github.com/rbenv/ruby-build
- Homepage: https://rbenv.org/man/ruby-build.1
- awesome-repositories: https://awesome-repositories.com/repository/rbenv-ruby-build.md

## Topics

`hacktoberfest` `rbenv-plugin` `ruby` `version-manager`

## Description

ruby-build is a Ruby version installer and build tool for Unix-like systems. It manages the process of downloading, compiling, and installing multiple versions of the Ruby language from source.

The utility utilizes definition files to map version numbers to download URLs and installation instructions. It supports custom build definitions, allows for the redirection of package downloads to mirror URLs, and applies checksum-based integrity verification to downloaded source archives.

The tool provides capabilities for custom Ruby compilation, including the application of source patches and the configuration of build parameters via environment variables. It allows users to browse available versions and automate the fetching and compilation of specific releases.

## Tags

### Programming Languages & Runtimes

- [Ruby Version Managers](https://awesome-repositories.com/f/programming-languages-runtimes/ruby-version-managers.md) — Provides the underlying installation mechanism to support multiple Ruby versions on a single system.
- [Custom Language Compilation](https://awesome-repositories.com/f/programming-languages-runtimes/custom-language-compilation.md) — Facilitates building Ruby from source with specific patches and configuration flags for specialized environments.
- [Language Runtime Implementations](https://awesome-repositories.com/f/programming-languages-runtimes/language-runtime-implementations.md) — Supports the installation of various Ruby language implementations by compiling them from source. ([source](https://github.com/rbenv/ruby-build/blob/master/README.md))
- [Build Tools](https://awesome-repositories.com/f/programming-languages-runtimes/ruby-cli-tooling/build-tools.md) — Provides tools to compile and install the Ruby language runtime from source.
- [Source-to-Binary Compilation Toolchains](https://awesome-repositories.com/f/programming-languages-runtimes/source-to-binary-compilation-toolchains.md) — Downloads raw Ruby source archives and executes a toolchain of configure and make commands to create binaries.
- [Version Definition Files](https://awesome-repositories.com/f/programming-languages-runtimes/version-definition-files.md) — Uses standalone definition files to map Ruby versions to their respective download URLs and build instructions.
- [Language Runtime Managers](https://awesome-repositories.com/f/programming-languages-runtimes/language-runtime-managers.md) — Implements a system for installing and managing specific versions of the Ruby runtime on shell-based operating systems.

### Development Tools & Productivity

- [Runtime Build Automation](https://awesome-repositories.com/f/development-tools-productivity/build-release-automation/runtime-build-automation.md) — Automates the process of fetching, verifying, and compiling specific Ruby releases.
- [Compiler Configurations](https://awesome-repositories.com/f/development-tools-productivity/build-tooling/build-orchestration-logic/build-orchestration-configuration/build-configuration-systems/compiler-configurations.md) — Adjusts compiler behavior and installation paths using specific configurations for the build environment. ([source](https://github.com/rbenv/ruby-build/blob/master/README.md))
- [Source Code Patching](https://awesome-repositories.com/f/development-tools-productivity/source-code-patching.md) — Applies diff files to the Ruby source code to resolve bugs or compatibility issues before compilation.

### DevOps & Infrastructure

- [Source Installations](https://awesome-repositories.com/f/devops-infrastructure/git-source-management/source-builds-from-git/source-installations.md) — Builds and installs specific Ruby versions directly from source archives on Unix-like systems. ([source](https://github.com/rbenv/ruby-build))

### Operating Systems & Systems Programming

- [Language Runtime Installations](https://awesome-repositories.com/f/operating-systems-systems-programming/language-runtime-installations.md) — Manages the installation and compilation of Ruby runtimes on Unix systems to avoid conflicts with system packages.

### Software Engineering & Architecture

- [Environment Variable-Based Configuration](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/environment-variable-management/environment-variables/environment-variable-based-configuration.md) — Allows customizing the Ruby build process by injecting compiler flags and paths via environment variables.
