Skip to content

Switch from asdf to mise (formerly called rtx) to install dependencies in .tool-versions

Overview

@pedropombeiro mentioned rtx in #dev_tip_of_the_day as an alternative to asdf that is not based on shims. rtx focuses on performance and backwards compatibility with asdf, so there wouldn't need to be any changes to the existing setup. See the benchmarks provided by @pedropombeiro below:

hyperfine benchmark of asdf vs rtx when executing exec ruby --version

Another edifying benchmark:

hyperfine benchmark of asdf vs rtx when executing current

Tasks

  • Update CI jobs to use mise to test the new configuration.
  • Set mise.enabled to true in the default settings.
  • Ensure mise updates automatically when a new version is released.
  • Update documentation to reflect the switch from asdf to mise.

Impacted categories

The following categories relate to this issue:

Edited by Mohga Gamea