ruby-install VS ruby-build

Compare ruby-install vs ruby-build and see what are their differences.

ruby-install

Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby (by postmodern)

ruby-build

A tool to download, compile, and install Ruby on Unix-like systems. (by rbenv)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ruby-install ruby-build
7 24
1,853 3,841
- 0.3%
7.6 8.9
21 days ago 3 days ago
Shell Shell
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ruby-install

Posts with mentions or reviews of ruby-install. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-11.
  • Test Driving a Rails API - Part One
    11 projects | dev.to | 11 Mar 2024
    Let’s get started. I prefer to manage my Ruby installations on my development machine with chruby paired with ruby-install. Another outstanding set of tools is rbenv with ruby-build. I highly recommend installing Ruby with one of those two sets of tools. Follow the instructions on their project’s READMEs. For this article, I’ll be running Ruby (MRI) v3.3.0.
  • Having issues installing Ruby
    3 projects | /r/ruby | 11 May 2022
    Anyone have ideas on what the issue is? The closest error message I found searching online was linked to this post which I'm not sure is exactly the same since their error message is on a different line (line 9 vs 14) and doesn't mention openssl like my error message does.
  • cocoapods - `pod setup` failing on `require active_support/core_ext/string/strip` which is installed.
    2 projects | /r/ruby | 14 Mar 2022
    Another option would be to use ruby-install to manually install your desired Ruby version to somewhere on your path. The downside here is that you lose the ability to switch between Rubies. This type of installation would allow you to set $GEM_HOME and $GEM_PATH however you like though.
  • Ruby Mac M1 Chip Monterey issues
    2 projects | /r/ruby | 7 Jan 2022
    you may need to browse some issues like this one https://github.com/postmodern/ruby-install/issues/399
  • Install Ruby on Mac without Homebrew?
    6 projects | /r/ruby | 19 Nov 2021
    I use https://github.com/postmodern/ruby-install along with https://github.com/postmodern/chruby
  • ruby-install 0.8.3 has been released
    2 projects | /r/ruby | 26 Sep 2021
    ruby-install 0.8.3 has been released. This version explicitly pins the homebrew openssl dependency to [email protected]. OpenSSL 3.0 was released this month and is now available in homebrew. Unfortunately, ruby’s openssl bindings are still working on OpenSSL 3.0 support, so attempting to compile any current ruby version against OpenSSL 3.0 from homebrew will result in a compilation error. Until all actively supported versions of Ruby support OpenSSL 3.0, ruby-install will continue to compile against [email protected] on macOS with homebrew.

ruby-build

Posts with mentions or reviews of ruby-build. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-11.
  • Test Driving a Rails API - Part One
    11 projects | dev.to | 11 Mar 2024
    Let’s get started. I prefer to manage my Ruby installations on my development machine with chruby paired with ruby-install. Another outstanding set of tools is rbenv with ruby-build. I highly recommend installing Ruby with one of those two sets of tools. Follow the instructions on their project’s READMEs. For this article, I’ll be running Ruby (MRI) v3.3.0.
  • Ruby on Rails en Windows con WSL2
    2 projects | dev.to | 26 May 2023
    git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
  • Rails 7: production deploy from scratch (Ubuntu 22.04 edition)
    5 projects | dev.to | 2 Feb 2023
    $ git clone https://github.com/rbenv/rbenv.git ~/.rbenv $ echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc $ exec $SHELL $ git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build $ git clone https://github.com/rbenv/rbenv-vars.git "$(rbenv root)"/plugins/rbenv-vars $ rbenv install 3.2.0 $ rbenv global 3.2.0 # Test complete install with rbenv-doctor $ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash $ ruby -v # Shows ruby version number if correctly installed $ gem install bundler # You might be prompted to update some gems, see command below $ gem update --system 3.4.6 # Check if this is recommended after bundler installation $ bundle -v # Shows bundler version number if correctly installed
  • Ruby 3.2.0 Released
    2 projects | /r/ruby | 25 Dec 2022
    Great! Already available via ruby-build on rbenv!
  • Setup Ubuntu / WSL For Ruby Development
    3 projects | dev.to | 21 Nov 2022
    # Part One: Install basics # zlib1g-dev might be zlib-dev on Ubuntu 22.04 # lsb-release might be lsb_release on Ubuntu 22.04 sudo apt-get update && sudo apt-get -y install \ git \ ca-certificates \ curl \ gnupg \ build-essential \ lsb-release \ zlib1g-dev \ libssl-dev \ zsh && \ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # Part Two: Installs & sets up rbenv, installs ruby git clone https://github.com/rbenv/rbenv.git ~/.rbenv && \ echo 'eval "$(~/.rbenv/bin/rbenv init - zsh)"' >> ~/.zshrc && \ source ~/.zshrc && \ git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build && \ rbenv install 3.1.2 && \ rbenv global 3.1.2 # Part Three: Optional minimum setup for Rails development echo "gem: --no-document" >> ~/.gemrc && \ gem install bundler && \ gem install rails
  • Any suggestions on environment options to be able run old Ruby version required by an old app?
    3 projects | /r/ruby | 11 Nov 2022
  • Troubleshooting ruby build
    3 projects | dev.to | 10 Oct 2022
    ruby-build Wiki is good to learn.
  • Installing RoR on WSL
    2 projects | dev.to | 2 Jul 2022
  • How to install gems on macOS for different versions of Ruby
    5 projects | /r/ruby | 14 Jun 2022
    Will install bundler for 3.1.3. You'll also want ruby-build for building multiple ruby versions.
  • How To Set up a Ruby on Rails 7 Development Environment on Ubuntu 22.04 LTS
    2 projects | dev.to | 1 Jun 2022
    # Download Ruby build plugin via GitHub git clone https://github.com/rbenv/ruby-build.git # Install Ruby build plugin cat ruby-build/install.sh PREFIX=/usr/local sudo ./ruby-build/install.sh

What are some alternatives?

When comparing ruby-install and ruby-build you can also consider the following projects:

RVM - Ruby enVironment Manager (RVM)

rbenv - Manage your app's Ruby environment

chruby - Changes the current Ruby

fry - Simple ruby version manager for fish

Tokaido - The home of the Tokaido app

Mineshaft - Ruby virtual environment manager

gem_home - A tool for changing your $GEM_HOME