Closed ariandanim closed 1 year ago
Try running asdf plugin update ruby
.
$ asdf version
v0.11.1
$ asdf plugin update ruby
Updating ruby to master
Already on 'master'
Your branch is up to date with 'origin/master'.
$ asdf list all ruby | grep '3.2.0'
3.2.0-dev
3.2.0-preview1
3.2.0-preview2
3.2.0-preview3
3.2.0-rc1
3.2.0
jruby-9.3.2.0
$
It's weird that you have to run asdf plugin update ruby
, I was expecting asdf update
to load the list of new ruby versions but it didn't.
FYI Ruby 3.2.1
is now in stable release also. When will that get added to asdf ruby? I see a PR merged for it but not finding it after asdf plugin update ruby
=> asdf plugin-update ruby
Updating ruby to master
Already on 'master'
Your branch is up to date with 'origin/master'.
=> asdf install ruby 3.2.1
Version not found
=> asdf latest ruby
3.2.0
UPDATE: I see it has been added. :)
@KelseyDH it seems to plugin responsibility to handle updates per plugin.
I would have control on update: should it be only asdf engine or plugins also.
So maybe asdf update --plugins
? or some config for it ? :P
It would be cool if, like homebrew, asdf ruby would auto update sporadically. Until then we must manually update the plugin.
It's really not asdf-ruby's responsibility to make those decisions. It's just a plugin for asdf-vm. If you want these enhancements, maybe suggest them on https://github.com/asdf-vm/asdf/issues ?
Agreed. @ariandanim this functionality does belong there. Can you close this and create an issue over there?
asdf plugin-update --all
seems to be the command , or just the plugin ?
waiting for ruby 2.7.8 to be released in ruby-build.
If just the plugin then
can we automatically fire up the command asdf plugin ruby update
?
@choosen asdf plugin-update --all
appears to be defined here:
so we have hook named : post_asdf_plugin_update
and we can add most probably function to update ruby-build (asdf plugin ruby update
)
BTW. ruby build was released with 2.7.8 already: https://github.com/rbenv/ruby-build/releases/tag/v20230330
Nodejs is fetching builder on:
asdf plugin update --all
Closing because #322 has improved the error message. Further discussion of this should be continued under https://github.com/asdf-vm/asdf-ruby/issues/319.
Dear team,
Please make ruby 3.2.0 available in list-all ruby asdf, i see only 3.2.0 preview 3 in those list