It is assumed that asdf has already been installed.
asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
Even if I try to execute the
asdf list-all ruby command
It seems that only
3.0.0-rc1 is listed yet.
(As of December 26, 2020)
.. 2.7.2 3.0.0-dev 3.0.0-preview1 3.0.0-preview2 3.0.0-rc1 artichoke-dev jruby-1.5.6 jruby-1.6.3 ..
Specify the build version with the following command and install.
ASDF_RUBY_BUILD_VERSION=v20201225 asdf install ruby 3.0.0
#Confirm installation asdf list ruby 3.0.0 #Globally designated&shim regeneration asdf global ruby 3.0.0 asdf reshim ruby #Shell restart or reload #Version confirmation ruby -v ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20] #Confirmation of substance where ruby /Users/username/.asdf/shims/ruby asdf which ruby /Users/username/.asdf/installs/ruby/3.0.0/bin/ruby
Successfully installed: cat2:
Source: https://github.com/asdf-vm/asdf-ruby https://github.com/asdf-vm/asdf-ruby/pull/192 https://asdf-vm.com/#/core-commands