Ruby via Mise with asdf on an M3 Mac (2024)
30 Nov 2024Following the setup instructions from Ruby / mise-en-place I hit a brief snag. It references asdf-ruby, but didn’t appear to work. Bundler errors refer to:
~/.local/share/mise/plugins/ruby/rubygems-plugin/rubygems_plugin.rb
This file seems to have an asdf
reference that isn’t satisfied when using mise
to install Ruby.
The plugin appears to be trying to reshim asdf but doesn’t succeed as asdf isn’t itself found.
It turns out that mise itself has a reshim function, which fixed this.
Give mise reshim
a go.