iTranslated by AI
The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
💎
Using Ruby 3.1.0 via asdf on December 25th
Ruby 3.1.0 has been successfully released again this year 👏
Support is currently in progress for asdf-ruby, so I expect it will appear on the list soon.
For those who can't wait... you can use Ruby 3.1.0 by modifying the code directly as shown in the PR above.
vi .asdf/plugins/ruby/lib/utils.sh
-RUBY_BUILD_VERSION="${ASDF_RUBY_BUILD_VERSION:-v20211201}"
+RUBY_BUILD_VERSION="${ASDF_RUBY_BUILD_VERSION:-v20211225}"
$ asdf list-all ruby | grep 3.1.0
3.1.0-dev
3.1.0-preview1
3.1.0
jruby-9.3.1.0
rbx-3.100
$ asdf install ruby 3.1.0
....
$ asdf global ruby 3.1.0
$ ruby -v
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
Merry Christmas! 🎉
Discussion