3

When I try to install the latest ruby (3.0.0), it fails with:

ruby-build: definition not found: 3.0.0

Clearly, ruby 3 has been released more than a month ago, so I'm guessing the team is running into problems building/packaging it for Apple Silicon (M1) or no one's had the bandwidth to do so yet. How would I follow up on this?

Micah Gideon Modell
  • 586
  • 1
  • 9
  • 24

2 Answers2

6

ASDF users, try asdf plugin update ruby then asdf install ruby the_ruby_version_here

Erowlin
  • 9,555
  • 4
  • 35
  • 63
  • This was the issue. The asdf plugin was out of date and was unaware of a new version I specified that had just released a couple weeks ago. – Daniel Nalbach Jan 10 '22 at 14:40
3

Have you tried brew update && brew upgrade rbenv ruby-build? That may help you get the latest available version of Ruby. You can try rbenv install --list to see what you have available.

Jonathan Thom
  • 56
  • 1
  • 4