ruby-build: definition not found: x.x.x

I recently came across an error when trying to install a new version of ruby using asdf.

$ asdf install ruby 2.7.5
ruby-build: definition not found: 2.7.5

So I thought, oh, I need to update ruby-build to get the latest list of available versions, so I try to upgrade ruby-build and try again.

$ brew upgrade ruby-build
...
$ asdf install ruby…

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why you should learn AWS?

PyCharm Professional — Python Editors in Review

March LeetCoding Challenge 2021 — Day 4: Intersection of Two Linked Lists

JUnit 5 parameterized feature

Docker PlaySchool

Draw lines and text on images with Python

Making Partnerships: Hiring the Best Drupal Partners

5 Questions: What’s it like being a Bridge student?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jonathan Haar

Jonathan Haar

More from Medium

Hunting down spooky JSON module redefinition via Oj

3 steps for solving “Rails 7 app using devise cannot render error message”

Let’s Start Rebuilding rails

“Hello, World” in Ruby