rbenv VS ruby-build

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
rbenv ruby-build
68 24
15,754 3,844
0.7% 0.3%
5.6 8.9
about 1 month 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.

rbenv

Posts with mentions or reviews of rbenv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-31.
  • Ask HN: Is anybody getting value from AI Agents? How so?
    4 projects | news.ycombinator.com | 31 Mar 2024
    When I was technical blogging on how to learn from open-source code [1], I used it quite frequently to get unstuck and/or to figure out how to tease apart a large question into multiple smaller functions. For example, I had no idea how to break up this long `sed` command [2] into its constituent parts, so I plugged it into ChatGPT and asked it to break down the code for me. I then Googled the different parts to confirm that ChatGPT wasn't leading me astray.

    If I had asked StackOverflow the same question, it would have been quickly closed as being not broadly applicable enough (since this `sed` command is quite specific to its use case). After ChatGPT broke the code apart for me, I was able to ask StackOverflow a series of more discrete, more broadly-applicable questions and get a human answer.

    TL;DR- I quite like ChatGPT as a search engine when "you don't know what you don't know", and getting unblocked means being pointed in the right direction.

    1. https://www.richie.codes/shell

    2. https://github.com/rbenv/rbenv/blob/e8b7a27ee67a5751b899215b...

  • 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.
  • How To Set Up Your Coding Environment
    3 projects | dev.to | 6 Feb 2024
    By setting up your environment in isolation, you can prevent yourself from a lot of issues when experimenting with code. It makes your code behave more predictable due to the defined state of the runtime environment you are working with. This article should provide you with enough information to get started, but obviously, there is a lot more power embedded in NVM, Virtual Environment and RBEnv. So make sure to check their documentation.
  • State of Ruby : What version manager to use
    1 project | dev.to | 12 Oct 2023
    There is this good resource that also talk about different ruby version manager from the Rbenv repository. With some links to benchmarks of ASDF and Rbenv.
  • Ruby version
    2 projects | /r/ManjaroLinux | 5 Jul 2023
    rbenv (my personal favorite)
  • Problems starting msfdb init
    2 projects | /r/metasploit | 2 Jul 2023
    One suggestion would be to setup your install based on a development environment using git and a Ruby version manager like rvm or rbenv to allows you to setup a user controlled gemset and execution path.
  • What's the number one reason that you use a Mac over a PC?
    3 projects | /r/mac | 9 Jun 2023
    rbenv for Ruby
  • Ruby on Rails en Windows con WSL2
    2 projects | dev.to | 26 May 2023
    git clone https://github.com/rbenv/rbenv.git ~/.rbenv
  • Issues with Unicode in pry running in Debian-11
    1 project | /r/ruby | 29 Apr 2023
    On MacOS, I haven't had a problem with character encodings in the terminal in ruby for a while, but used to. When I used to, it had to do with how ruby had been installed, in particular that it needed to be compiled linking against an appropriate readline library. Are you trying to use the ruby that came with debian? You might have more luck installing ruby yourself, and using a ruby version manager. rbenv might be the simplest for you.
  • Is there any reason to use Ruby 2.7 over Ruby 3.x?
    5 projects | /r/ruby | 25 Apr 2023
    For my local machine, I use RVM (head). Other options are rbenv and asdf.

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

What are some alternatives?

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

asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

RVM - Ruby enVironment Manager (RVM)

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

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

Tokaido - The home of the Tokaido app

gem_home - A tool for changing your $GEM_HOME