asdf-vm / asdf-ruby

Ruby plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
650 stars 133 forks source link

Truffle Ruby Latest? #387

Closed ylluminate closed 5 months ago

ylluminate commented 7 months ago

When installing the latest version of MRI Ruby and wanting to keep it up-to-date, we seem to have a simple option to just install "ruby" and keep it up-to-date. Is there a method to easily update other releases such as Truffle Ruby?

Stratus3D commented 5 months ago

Yes. For MRI ruby you'd do:

$ asdf install ruby latest

For truffle you can specify a filter/prefix to filter versions by when finding latest:

$ asdf install ruby latest:truffleruby-
To follow progress, use 'tail -f /var/folders/hp/z_skq1wx0s1f5gvg55gcv_6r0000gp/T/ruby-build.20240321090339.29273.log' or pass --verbose
ruby-build: using openssl from homebrew
Downloading truffleruby-22.3.1-macos-aarch64.tar.gz...
...

Hope this helps.