ruby-build VS asdf

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

ruby-build

A tool to download, compile, and install Ruby on Unix-like systems. (by rbenv)

asdf

Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more (by asdf-vm)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ruby-build asdf
24 341
3,848 20,547
0.2% 1.6%
8.8 7.6
4 days ago 6 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-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.
  • what's the linux distribution you are using for rails dev?
    1 project | /r/rails | 15 Sep 2023
    Seems someone was able to fix your problem with openssl installed from linuxbrew, see herehttps://github.com/rbenv/ruby-build/discussions/2199
  • 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
  • OpenSSL::Digest::DigestError when using MD4
    1 project | dev.to | 15 Nov 2022
    I'm using rbenv to manage Ruby versions, and it turns out they recently started building Ruby with OpenSSL 3.0 instead of OpenSSL 1.1.
  • 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

asdf

Posts with mentions or reviews of asdf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-27.
  • Install Asdf: One Runtime Manager to Rule All Dev Environments
    10 projects | news.ycombinator.com | 27 Apr 2024
    The main issue most people have with asdf is that it’s annoyingly slow. Not unusably so, but just enough that it’s irritating.

    I identified [0] the source for much of it (sub-shells and pipes) and began a PR [1], but became bogged down with BATS testing, and then found mise / rtx, so kind of lost interest. Sorry. You can always implement these if you’d like.

    [0]: https://github.com/asdf-vm/asdf/issues/290#issuecomment-1383...

    [1]: https://github.com/asdf-vm/asdf/pull/1441

  • Show HN: I made a multiple runtime version manager that can be used on Windows
    4 projects | news.ycombinator.com | 22 Apr 2024
  • Volta – Fastest Node version manager in Rust
    2 projects | news.ycombinator.com | 25 Mar 2024
    Or if you need to manage more than just node, asdf has been around for over a decade and works great. You can use a .tool-versions to change runtimes for each project you have, in addition to managing your global runtime versions

    https://asdf-vm.com/

  • Pyenv – lets you easily switch between multiple versions of Python
    20 projects | news.ycombinator.com | 25 Mar 2024
    Why not just use a tool like asdf (https://asdf-vm.com/) or mise (https://mise.jdx.dev/)?

    These tools have the advantage of not being multi-taskers and can manage version for all your tools. You wouldn’t need pyenv and npm and rvm and…

    We’ve even started committing the .mise.toml files for projects to our repos. That way, since we work on multiple projects that may need multiple versions of the same tool, it’s handled and documented.

  • A Journey to Find an Ultimate Development Environment
    13 projects | dev.to | 2 Feb 2024
    The purpose of a version manager is to help you navigate or install any tools for development easily. Version Manager can be one tool for each dependency (e.g. NVM, g) or One tool for all dependencies (e.g. asdf, mise).
  • How to Install Your Python Version on Ubuntu
    1 project | news.ycombinator.com | 28 Jan 2024
    (asdf)[https://asdf-vm.com/] fully supports Python and almost any other language. I've been using it for Ruby, Python, Elixir, and other languages for years and never looked back.
  • Beginners Intro to Trunk Based Development
    4 projects | dev.to | 4 Jan 2024
    Secondly, our development environments must not drift, because then code may behave differently and a change could pass on our machine but fail in production. There are many tools for locking down environments, e.g nix, pkgx, asdf, containers, etc., and they all share the common goal of being able to lock down dependencies for an environment accurately and deterministically. And that needs to be enforced in our local workflow so we don't have to rely on CI environments for correctness. All developers must have environments that are effectively identical to what runs in CI (which itself should be representative of the production environment).
  • Practical Guide to Trunk Based Development
    4 projects | dev.to | 4 Jan 2024
    There are many ways this can be done (e.g nix, pkgx, asdf, containers, etc.), and we won’t get into which specific tools to use, because we'll instead cover the essential essence of preventing environment drift:
  • Criando seu ambiente com ASDF
    4 projects | dev.to | 29 Dec 2023
  • Kotlin version manager
    2 projects | /r/Kotlin | 7 Dec 2023
    I've really been enjoying asdf, which is a program that allows you to install specified versions of dev utilities as well as dynamically manage them via shims and .tool-versions files.

What are some alternatives?

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

RVM - Ruby enVironment Manager (RVM)

SDKMan - The SDKMAN! Command Line Interface

ruby-install - Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby

pyenv - Simple Python version management

rbenv - Manage your app's Ruby environment

chruby - Changes the current Ruby

nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

fry - Simple ruby version manager for fish

volta - Volta: JS Toolchains as Code. ⚡

Tokaido - The home of the Tokaido app

HomeBrew - 🍺 The missing package manager for macOS (or Linux)