Updated asdf and prebuilt Rubies
ImprovementHatchbox servers now run asdf 0.20, the current Go version of asdf. Each server switches on its next deploy. Your installed languages, .tool-versions files and .asdf-vars keep working as before. Our build adds .asdf-vars support and is open source at hatchboxio/asdf.
Prebuilt Rubies. When your app needs a Ruby version the server doesn't have yet, Hatchbox now downloads it from hatchboxio/precompiled-ruby. It takes a couple of seconds. Versions without a prebuilt download are compiled on the server, as before.
The first deploy after a Ruby upgrade takes a little longer. Gems with native extensions, like bcrypt, puma and nio4r, are rebuilt for the new Ruby once. Later deploys skip that step.
If you use asdf in your own scripts. asdf 0.20 renamed a few commands:
asdf global ruby 3.4.4is nowasdf set -u ruby 3.4.4asdf localis nowasdf setasdf shellis gone; setASDF_RUBY_VERSION(orASDF_<TOOL>_VERSION) insteadasdf plugin-add,asdf plugin-listandasdf list-allare nowasdf plugin add,asdf plugin listandasdf list all
asdf exec, asdf install, asdf vars and the shims in ~/.asdf/shims work as before, including from cron jobs.
See the Ruby docs for the list of prebuilt versions.