Missing Ruby Version on ASDF

I am trying to install Ruby 2.7.7 via asdf but the latest version appears to be 2.7.6. Anyone happen to know how to support a new Ruby version on asdf? Available Ruby 2.7.x versions Tried installing Ruby 2.7.7, expected version to be available.

I am trying to install Ruby 2.7.7 via asdf but the latest version appears to be 2.7.6. Anyone happen to know how to support a new Ruby version on asdf?

Available Ruby 2.7.x versions

Tried installing Ruby 2.7.7, expected version to be available.

1

1 Answer

The asdf-ruby plugin uses ruby-build to actually build Ruby versions. To be able to install new Ruby versions, ruby-build needs to be updated.

You can set the desired ruby-build version by setting the ASDF_RUBY_BUILD_VERSION environment variable to the desired version before invoking asdf.

Alternatively, you can also update your asdf-ruby plugin to use the current ruby-build version on every invocation as they have updated the plugin to use the current ruby-build version by default in asdf-vm/asdf-ruby#317.

This can be done with either

asdf plugin update --all 

or

asdf plugin update ruby 

to just update the ruby plugin.

2

ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobm1uaWeCd4OOpqCsq5mjtG6%2B1JuwZq6Vp8Cqu81mpqdlkaixpw%3D%3D

 Share!